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

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

相关推荐
濊繵17 小时前
Linux网络--IP 分片和组装的具体过程
linux·网络·tcp/ip
yoona102018 小时前
Flutter 声明式 UI:为什么 build 会被反复调用?
flutter·ui·区块链·dex
huangyuchi.18 小时前
【Linux网络】UDP协议详解:透过源码看透“面向数据报”与“缓冲区”的本质
linux·网络·udp·报文·linux网络·传输层协议·报头
林九生18 小时前
【Centos7】CentOS 7 yum源失效解决方案:Could not resolve host mirrorlist.centos.org
linux·运维·centos
福尔摩斯张18 小时前
【实战】C/C++ 实现 PC 热点(手动开启)+ 手机 UDP 自动发现 + TCP 通信全流程(超详细)
linux·c语言·c++·tcp/ip·算法·智能手机·udp
了一梨18 小时前
网络编程:UDP Socket
linux·网络协议·udp
巴拉巴拉~~18 小时前
深入探索Flutter自定义绘制:从零到一实现炫酷仪表盘
flutter·ui
ChristXlx18 小时前
Linux安装MongoDB(虚拟机适用)
linux·mongodb·postgresql
AttaGain18 小时前
禁用Ubuntu24.04休眠模式
linux
kaka_199418 小时前
如何解决驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。
linux·安全·ssl