欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 房产 > 家装 > 一款人性化的终端用户界面工具

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

2024/10/24 23:28:47 来源:https://blog.csdn.net/l_changyun/article/details/141527659  浏览:    关键词:一款人性化的终端用户界面工具

logo

A collection of human friendly terminal user interface.

截图

历史文件预览

注意:

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'
快捷键
keymapAction
TABselect the next option
Shift + TABselect the previous option
Enterconfirm the option

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

select_next_key   = "<C-n>"
select_prev_key   = "<C-p>"

配置

config.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      = 0editor              = "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

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com