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

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

相关推荐
Xの哲學5 小时前
Linux SMP 实现机制深度剖析
linux·服务器·网络·算法·边缘计算
知识分享小能手5 小时前
Ubuntu入门学习教程,从入门到精通,Ubuntu 22.04的Linux网络配置(14)
linux·学习·ubuntu
皇族崛起6 小时前
【视觉多模态】- scannet 数据的 Ubuntu 百度网盘全速下载
linux·ubuntu·3d建模·dubbo
CAU界编程小白6 小时前
Linux系统编程系列之进程控制(下)
linux·进程控制
RisunJan6 小时前
Linux命令-ifconfig命令(配置和显示网络接口的信息)
linux·运维·服务器
LaoWaiHang7 小时前
Linux基础知识04:pwd命令与cd命令
linux
lbb 小魔仙7 小时前
【Linux】100 天 Linux 入门:从命令行到 Shell 脚本,告别“光标恐惧”
linux·运维·服务器
小张成长计划..7 小时前
【Linux】1:基本指令
linux
OliverH-yishuihan7 小时前
在win10上借助WSL用VS2019开发跨平台项目实例
linux·c++·windows
早川9198 小时前
Linux系统
linux·运维·服务器