Originally for traditional vim, and now for neovim, this repo contains my vim config files.
-
Clone the repo in your $HOME.
git clone github.com/santosh/nvim ~/.config/nvim
-
Enter the repo and run
make install.cd ~/.config/nvim && make install
-
Wait for the installation to finish.
It might take a few minutes to completely install; for example, if your system does not have go toolbelt installed, it will take time until it downloads and compiles it for system wide use.
Still looking for the traditional vim config? They are available in the last-vim-config-before-nvim branch.
git clone -b last-vim-config-before-nvim https://github.com/santosh/nvim ~/.vim
cd ~/.vim && make install
Other than my keybinding and config, I have these plugins working.
- vim-plug - The minimalist vim plugin manager.
- nerdtree - the missing file explorer for vim
- nerdcommenter - for comment manipulation
- auto-pairs - the missing plugin to insert or delete brackets, parens, quotes in pair
- mru - the missing most recently used menu for vim
- vim-surround - for manipulating quotes and parenthesis
- ultisnips - the best snippet manager available for vim
- vim-snippets - actual vim snippets definition repo for ultisnips
- vim-fugitive - git wrapper for vim
- vim-gitgutter - shows added/removed/modified lines
- gruvbox - the dark theme I use
- vim-go - one stop golang plugin
- emmet-vim - expands abbreviation into html tags; a must-have for frontend devs.
Note #1: vim-snippets is freezed and is updated manually because I have them customized.
Note #2: I use FiraCode Mono as monospace font system wide.
In after/ftplugin directory, you'll find configs related to current filetype based localised settings, overriding the global ones.
Settings overridden are mosttly one or more of these:
- localised mapping to run the file from within vim
- localised tabwidth and other tab related settings
- localised comment leader for files (nerdcommenter)