一款人性化的终端用户界面工具

A collection of human friendly terminal user interface.

截图

历史文件预览

注意:

find file 依赖 fzf.

file browser依赖 ranger / lf / ...

安装

bash 复制代码
git clone https://github.com/StubbornVegeta/StartUp ~/.config/
cd ~/.config/StartUp
./install.sh

用法

bash 复制代码
. $HOME/.config/StartUp/StartUp.sh

或者将配置写入 ~/.zshrc:

bash 复制代码
alias sp='. $HOME/.config/StartUp/StartUp.sh'
快捷键
keymap Action
TAB select the next option
Shift + TAB select the previous option
Enter confirm the option

你也可以像这样自定义快捷键

lua 复制代码
select_next_key   = "<C-n>"
select_prev_key   = "<C-p>"

配置

config.lua

lua 复制代码
style = "ghost"

keymap = {
  ["history_files"] = "<C-h>",
  ["find_file"]     = "<C-f>",
  ["file_browser"]  = "<C-b>",
  ["open_dotfiles"] = "<C-d>",
  ["tag_paths"]     = "<C-t>",
  ["exit"]          = "<Esc>",
  ["select_next"]   = "<C-n>",
  ["select_prev"]   = "<C-p>"
}

dotfiles_list = {
  "~/.zshrc",
  "~/.tmux.conf",
  "~/.config/nvim/init.lua",
  "~/.config/ranger/rc.conf",
  "~/.config/zsh/module/aliases.zsh",
  "~/.config/StartUp/src/config.hpp",
  "~/.config/StartUp/config.lua",
  "~/.config/StartUp/header/header.lua",
}

paths_list = {
  "~/.config/StartUp",
  "~/.config/StartUp/src",
  "~/.config/StartUp/build",
  "~/.config",
  "~/.config/nvim",
  "~/.config/ranger",
  "~/.config/zsh/module",
  "~/Desktop",
  "~/svegeta"
}

-- The first option is selected by default
radiobox_selected   = 0
oldfiles_selected   = 0
dotfiles_selected   = 0
paths_selected      = 0

editor              = "nvim"
file_browser_cmd    = "ranger"
find_file_cmd       = "nvim $(fzf)"
oldfiles_cmd        = "nvim --headless -u NONE -c'echo v:oldfiles | qall!' 2>&1"

url                 = "https://github.com/StubbornVegeta/StartUp"

style ( logo 风格 ):

  • ghost
  • melting
  • fading
  • hand_writing
  • black_outline

Thanks

相关推荐
IMPYLH7 小时前
Linux 的 pinky 命令
linux·运维·服务器·bash
REDcker8 小时前
Linux iptables 与 Netfilter:原理、路径与运维要点
linux·运维·服务器
ai_coder_ai9 小时前
在自动化脚本ui编程之webview控件
ui·autojs·自动化脚本·冰狐智能辅助·easyclick
嵌入式×边缘AI:打怪升级日志9 小时前
Linux 驱动开发入门:从最简单的 hello 驱动到硬件交互
linux·驱动开发·交互
RReality10 小时前
【Unity Shader URP】色带渐变着色(Ramp Shading)实战教程
ui·unity·游戏引擎·图形渲染
Bert.Cai10 小时前
Linux useradd命令详解
linux·运维
无忧.芙桃11 小时前
进程控制(上)
linux·运维·服务器
十年编程老舅11 小时前
深入 Linux 中断:原理详解 + 实战落地
linux·网络·linux内核·c/c++·中断
Bert.Cai11 小时前
Linux rm命令详解
linux·运维
知识浅谈12 小时前
OpenClaw保姆级安装教程:基于ubuntu系统
linux·ubuntu·node.js