Customizations for vim
, because +30 can go a long way.
This is my personal .vimrc
setup, with additional plugins which helps me go further with Vim.
Some manual setup required, as there is not much point to automate the setup since they won't change that often anyway.
- Vim and/or MacVim
- vim-plug
- (optional) The Silver Searcher (if using
ag
) - (optional) Pyflakes as the Python linter to ALE (personal preference applies)
- Clone this repository to
~/.vim
, taking care not to replace extras that were previously there - Add the following line to existing
.vimrc
:" +30 source ${HOME}/.vim/kkjjhlhlba.vim
- Customize as needed
- Start
vim
and issue the following command to download and install the plugins::PlugInstall
- Restart
vim
List of plugins I used:
- https://github.com/NLKNguyen/papercolor-theme
- https://github.com/bronson/vim-trailing-whitespace
- https://github.com/ctrlpvim/ctrlp.vim
- https://github.com/dense-analysis/ale
- https://github.com/preservim/nerdcommenter
- https://github.com/preservim/nerdtree
- https://github.com/vim-airline/vim-airline
- https://github.com/vim-airline/vim-airline-themes
Each plugins are tagged to ensure the same experience across machines, and to avoid surprises that may come with newer version of the plugins.
- Tabs in MacVim has specific minimum width, which may cause the tabs to be hidden behind
>>
if too many tabs are opened. To resolve this, run the following command on Terminal, adjusting the value forMMTabMinWidth
as needed:defaults write org.vim.MacVim MMTabMinWidth 60