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

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

相关推荐
geek_super42 分钟前
Linux命令学习--备份压缩--ar命令
linux·学习·ar
我是唐青枫10 小时前
Linux ar 命令使用详解
linux·运维·服务器
mljy.10 小时前
Linux《进程概念(上)》
linux
IEVEl10 小时前
Centos7 开放端口号
linux·网络·centos
烧仙草奶茶11 小时前
【cocos creator 3.x】3Dui创建,模型遮挡ui效果
ui·3d·cocos creator·cocos3d
我要升天!11 小时前
Linux中《环境变量》详细介绍
linux·运维·chrome
MobiCetus12 小时前
有关pip与conda的介绍
linux·windows·python·ubuntu·金融·conda·pip
wkm95612 小时前
Unity程序嵌入Qt后点击UI按钮Button没有反应
qt·ui·unity
weixin_4284984912 小时前
Linux系统perf命令使用介绍,如何用此命令进行程序热点诊断和性能优化
linux·运维·性能优化
lemon31062414 小时前
dockerfile制作镜像
linux·运维·服务器·学习