- zsh
- tmux
- joshuto
- fzf
- lazygit
- Install and set zsh as default shell
ln -s $HOME/.config/zsh/dotzshrc $HOME/.zshrc
source ~/.zshrc
The zim framework and zsh plugins will installed automatically.- Install requirements.
brew install exa
for pretty lsbrew install bat
for cat
brew install tmux
- Install tpm
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
- Install tmux plugins by tpm
Go tmux press<tmux-prefix>I
to install plugins of tmux. - Merge my tmux-powerline theme
cp -f $HOME/.config/tmux/theme.sh $HOME/.config/tmux/plugins/tmux-powerline/themes/default.sh
cargo install --git https://github.com/kamiyaa/joshuto.git --force
- Install fzf
brew install fzf
- To install useful key bindings and fuzzy completion
(brew --prefix)/opt/fzf/install --xdg
- Install requirements: fd, rg.
brew install fd
for fast find
brew install rg
for grep content in files
- Install lazygit
brew install lazygit
- Install git-delta to show diff
brew install git-delta
Plugins | Keymap | Function |
---|---|---|
vimode | ESC ESC | enable vimode |
history-search | ⬆️ | history-substring-search-up |
⬇️ | history-substring-search-down | |
C-R | history-incremental-pattern-search-backward | |
<VImode> k | history-substring-search-up | |
<VImode> j | history-substring-search-down | |
autosuggestions | C-W | autosuggestion jump forward word |
C-E | autosuggestion jump backward and delete word | |
z.lua | $ z <keyword> | jump to path contains the keyword |
$ zb <keyword> | jump out path contains the keyword | |
fzf | C-T | Paste the selected files and directories onto the command-line |
C-R | fzf command history | |
M-C | cd into the selected directory |