Vim configuration file with lots of improved features and mappings that will help you be productive while coding.
- Leader key - " , " (comma)
- ColorScheme - GruvBox
- Plugin Manager - Vundle
- Syntax Checking - Syntastic
- Files - NerdTree
- Color Scheme - GruvBox
- Code Formatting - Preetier
- Graphical Undo - Gundo
- Searching - Ag
- Code Completion - YouCompleteMe
- PEP8 - Flake8
- Status Line - airline vim
- Git - Fugitive
- Emmet - Emmet vim
- Easy Alignment - VimEasyAlign
- File Buffer - ctrlp (TO REPLACE)
- Ultimate Snippet - ultisnips
- Vim Snippet vim-snippets
- Intellisenese neoclide/coc.nvim
- Show Git diff airblade/vim-gitgutter
<F5>
- Show whitespace characters(eol, space, trail, etc.)<space>
- Toggle code folding<leader>s
- Save session<leader>a
- Call Ag (silver searcher for searching)<leader>t
- Nerdtree toggle<leader>u
- Gundo toggle<leader>n
- Toggle Relative line number<leader>w
- Strip trailing whitespacesz/
- Toggle Highlight all occurences of word currently under cursor
-
Install git
Get the specific package for your system from here and install -
Install vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
-
Now clone this file
git clone https://github.com/dpakach/vim-conf ~/vim-conf && ln -s ~/vim-conf/.vimrc ~/.vimrc
-
Install all the plugins
To install all the plugins used in this .vimrc file:- open your terminal
- open vim by typing typing
vim
and pressing enter you might get some errors at first, ignore them for now - run
:PluginInstall
in vim - to run form terminal type
vim +PluginInstall +qall
Or run the following command after installing git
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim && git clone https://github.com/dpakach/vim-conf ~/vim-conf && ln -s ~/vim-conf/.vimrc ~/.vimrc && vim +PluginInstall +qall