Skip to content

Latest commit

 

History

41 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim config

Originally for traditional vim, and now for neovim, this repo contains my vim config files.

Install

Linux/Mac

  1. Clone the repo in your $HOME.

    git clone github.com/santosh/nvim ~/.config/nvim

  2. Enter the repo and run make install.

    cd ~/.config/nvim && make install

  3. 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

What's Inside?

Plugins

Other than my keybinding and config, I have these plugins working.

  1. vim-plug - The minimalist vim plugin manager.
  2. nerdtree - the missing file explorer for vim
  3. nerdcommenter - for comment manipulation
  4. auto-pairs - the missing plugin to insert or delete brackets, parens, quotes in pair
  5. mru - the missing most recently used menu for vim
  6. vim-surround - for manipulating quotes and parenthesis
  7. ultisnips - the best snippet manager available for vim
  8. vim-snippets - actual vim snippets definition repo for ultisnips
  9. vim-fugitive - git wrapper for vim
  10. vim-gitgutter - shows added/removed/modified lines
  11. gruvbox - the dark theme I use
  12. vim-go - one stop golang plugin
  13. 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.

filetype based configs

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)

About

vim config files

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages