~$ ln -s ./vim ~/.vim
~$ ln -s ./vimrc ~/.vimrc
~$ vim +PlugInstall +UpdateRemotePlugins +qa
# install pyls for python code navigation
~$ python3 -m venv ~/.vim/tools/py
~$ ~/.vim/tools/py/bin/pip install python-language-server
:PromptlineSnapshot airline ../dotfiles/promptline-<scheme>.sh
:TmuxlineSnapshot ~/.dotfiles/tmuxline-<scheme>.conf
These are the custom shortcuts I've set up and use everyday. In parens is the mnemonic I use to remember them :D
\rb
- run all the tests in the current file (run buffer)\rf
- run the test under the cursor (run focused)\rl
- run the last test, can do it from anywhere (run last)
\nt
- toggle viewing NERDTree (nerd toggle)\nf
- reveal the current file in NERDTree (nerd find)
\ff
- open the prompt to start searching for a file (fuzzy files)\fb
- search open buffers (fuzzy buffers)\fr
- clear the file cache (fuzzy refresh)
\be
- open buffer explorer
gd
- go to definitiongr
- display all references\gw
- git grep the word under the cursor (grep word)
\nh
- disable current highlights (no highlights)\cc
- comment the current line or selected block (comment code)