/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
git clone https://github.com/wangzewang/dotfiles.git ~/.dotfiles && cd ~/.dotfiles
Please review the Brewfile, and remove things you don’t want or need.
cd ~/.dotfiles && brew bundle
zsh shoud have been installed at step3. Just change default sh to zsh.
chsh -s $(which zsh)
fzf should have been installed at step3. Just add fuzzy auto-completion
$(brew --prefix)/opt/fzf/install
tmux should have been installed at step3. Install tmux plugin manager.
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
cd ~/.dotfiles && make install
neovim config should have been apply in step7, just open nvim with v or nvim or vim. And plugins installation should start automatically.
v
short key | Description |
---|---|
dev |
open a new tmux session.Automatic restore your last dev when exec |
control + w + | or control + w + —— |
split the window |
control + w with h ,j ,k ,l |
change the pane size in tmux |
control + w with < or > |
switch window in tmux |
Escape then v then h ,j ,k ,l then y |
copy in tmux |
control with h ,j ,k ,l |
select pane in tmux or vim |
tr |
nerdtree in vim |
tb |
tagbar in vim |
gd |
go to defination in vim |
control +p |
file search in vim |
command +[ or ] |
buffer switch in vim |
command +/ |
comment in vim |
etc |