Kitty · Zsh · Tmux · Vim&Neovim
-
manage, save my computer environment and soft config
-
Primarily for macOS, and sometimes use on ubuntu.
-
Include
- kitty configurations
- tmux configurations
- a simple vim configurations in one file
- a custom neovim configurations base on LazyVim.
- zsh configurations
- the installation and uninstallation script for all the configurations mentioned above
.
├── bak
├── installed // brew install soft list
├── kitty // kitty configuration
├── LICENSE
├── README.md
├── tmux // tmux configuration
├── vi // vim & neovim configuration
└── zsh // zsh configuration
git clone --depth=1 https://github.com/leisurelicht/.licht-config.git
-
install
./install.sh kitty
-
uninstall
./uninstall.sh kitty
.
└── kitty.conf
-
install
./install.sh zsh
- change terminal font to Hack Nerd Font
- if you're using iTerm2, you can refer to the following configuration.
-
uinstall
./uninstall.sh zsh
└── zsh
├── aliasrc // command aliasrc
├── export_env // environment
├── fzf.zsh // fzf configuration file
├── install.sh
├── p10k.zsh // p10k configuration file
├── README.md
└── zshrc // zsh configuration file
-
install
- run install script
./install.sh tmux
- run tmux and install tmux plugins
tmux <C-b>I
- only install mini tmux config
curl -o ~/.tmux.conf https://raw.githubusercontent.com/leisurelicht/.licht-config/master/tmux/mini.conf
-
uninstall
./uninstall.sh tmux
.
├── install.sh // install script
├── README.md
├── tmux.conf // tmux configuration
└── uninstall.sh // uninstall configuration
- C = Ctrl = Control
- pk = Prefix Key = <Ctrl-b>
* | key | description |
---|---|---|
--> | session | |
pk-d | detach the current client | |
pk-w | choose a window from a list | |
pk-r | reload tmux configuration | |
pk-I | install tmux plugins | |
pk-i | display window info | |
--> | window | |
C-d | quit but not close client | |
pk-c | create a new window | |
pk-& | kill the current window | |
pk-n | select the next window | |
pk-p | select the previous window | |
pk-f | search for a pane | |
pk-number | select a window based on a number | |
pk-' | select a window based on a number | |
pk-, | rename the current window | |
pk-> | scroll preview left | |
pk-< | scroll preview right | |
--> | pane | |
C-d | close the current pane | |
pk-x | kill the active pane | |
pk-\ | create a pane horizontally | |
pk-% | create a pane horizontally | |
pk-| | create a pane horizontally on the far right | |
pk-" | create a pane vertically | |
pk-- | create a pane vertically | |
pk-_ | create a pane vertically on the very bottom | |
pk-; | move to the previously active pane | |
pk-q | show the number for each pane | |
pk-z | zoom the active pane | |
pk-h | move the cursor to the left pane | |
pk-l | move the cursor to the right pane | |
pk-j | move the cursor to the below pane | |
pk-k | move the cursor to the above pane | |
pk-H | resize the current pane left by 5 | |
pk-L | resize the current pane right by 5 | |
pk-J | resize the current pane down by 5 | |
pk-K | resize the current pane up by 5 | |
pk-! | move the current pane to a new window | |
pk-o | move to the next pane in the current window | |
pk-{ | swap the active pane with the pane above | |
pk-} | swap the active pane with the pane below | |
pk-Alt+o | rotate through the panes in reverse | |
pk-Ctrl+o | rotate through the panes in clockwise | |
--> | Other | |
pk-t | show time in full screen |
-
install
- install full version
./install.sh [vim/neovim]
- only install mini vim
curl -o ~/.vimrc https://raw.githubusercontent.com/leisurelicht/.licht-config/master/vi/vim/mini
-
uninstall
./uninstall.sh [vim/neovim]
.
├── nvim
│ ├── ftplugin
│ ├── init.lua
│ ├── lazy-lock.json
│ ├── lua
│ └── plugin
└── vim
├── autoload
├── config
├── custom
├── extends
└── vimrc