vim+
Vim
- vimrc file: put this in your home directory as .vimrc (rename with the leading “dot”)
- To install plugins you’ll want a .vim folder in your home directory.
- Create a subdirectory called autoload. Then download and install plug.vim
- Then in vim type :PlugInstall. See the .vimrc file for details
- The airline fonts might not be working. To get those working on a mac click here (not sure about windows/linux)
- neovim
- You might need to change the location of your vimrc file. I have mine in .vim/vimrc, and my ~/.vimrc file is a soft link to .vim/vimrc
- I also alias vim to nvim in my .bashrc file:
- Some links:
Tmux
- wikipedia
- tmux crash course
- .tmux.conf file: put this in your home directory
- This includes websites that the various commands and configurations came from.
- I set my leader key to be space
-
Splitting windows with |
and - |
- Moving between windows using the same key commands as are mapped in my .vimrc file
- On my machine, I normally clear the terminal window with l, but in tmux this doesn't work, so I've also aliased c to clear in the .bashrc file.
Bashrc
- bashrc file: edit and put in your home directory (rename as .bashrc with the “dot”).
- Note especially the nice promt that also shows what git branch you are on (when you are in a folder under git version control).