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


logo

A collection of human friendly terminal user interface.

截图

在这里插入图片描述

在这里插入图片描述

历史文件预览

注意:

find file 依赖 fzf.

file browser依赖 ranger / lf / …

安装

git clone https://github.com/kurama622/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      = 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/Kurama622/StartUp"

style ( logo 风格 ):

  • ghost
  • melting
  • fading
  • hand_writing
  • black_outline

Thanks

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值