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


一款人性化的终端用户界面工具_第1张图片

A collection of human friendly terminal user interface.

截图

一款人性化的终端用户界面工具_第2张图片

一款人性化的终端用户界面工具_第3张图片

历史文件预览

一款人性化的终端用户界面工具_第4张图片

注意:

find file 依赖 fzf.

file browser依赖 ranger / lf / …

安装

git clone https://github.com/StubbornVegeta/StartUp ~/.config/
cd ~/.config/StartUp
./install.sh

用法

. $HOME/.config/StartUp/StartUp.sh

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

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

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

select_next_key   = ""
select_prev_key   = ""

配置

config.lua

style = "ghost"

keymap = {
  ["history_files"] = "",
  ["find_file"]     = "",
  ["file_browser"]  = "",
  ["open_dotfiles"] = "",
  ["tag_paths"]     = "",
  ["exit"]          = "",
  ["select_next"]   = "",
  ["select_prev"]   = ""
}

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

  • dashboard-nvim - UI Reference
  • FTXUI - TUI

你可能感兴趣的:(开原大镖客,shell,ui,terminal,linux,shell)