This is a simple and minimal vim configuration that I use. Honestly, I don't know why I made this. No one's gonna read this... but if you reached here, thank you for your time.
Anyways, I'll be switching to NeoVim very soon, so I just wanted to start with Vim first.
-
Colorschemes: Gruvbox, Tender (Tender is my personal fav)
-
LSP features:
- Provides LSP support for C/C++, Java, Python, JS/TS, shell and some other languages as well...
- Autocompletion with snippets.
- Go-to-definition, find references, hover docs
- Diagnostics (errors & warnings) from language servers.
-
NERDTree for file navigation
-
Custom status line with Git branch display / lightline.vim for a clean and lightweight statusline.
-
Convenient key mappings for faster editing
-
fzf for fuzzy file and text search
-
vim-matchup for matching parentheses + vim-closer for auto-closing brackets.
-
The most powerful of all : UNDO TREES (which your VSCode can't, huh ;)
It uses vim-plug for managing plugins.
You can use a different colorscheme from here : list of vim colorschemes
- Node.js (>= 16.18.0)
- fzf (for fuzzy finding)
- Vim (of course)
- Python3 (for undo-tree)
- Also, this vimrc works best if you use any Nerd Font (if you don't, this setup will install it for ya :)
git clone --depth=1 https://github.com/hazraChandrima/vimrc.git
cd vimrc/./setup.shThat's all it takes...
| Mapping | Action |
|---|---|
jj |
Exit insert mode |
<leader>\ |
Jump back to the last cursor position |
<leader>p |
Print current file to default printer |
<space> |
Acts as : in command mode |
o / O |
Open a new line below/above and return to normal mode |
n / N |
Move to next/previous search result and center the cursor |
Y |
Yank from cursor to the end of the line |
<F2> |
Toggle Mundo (undo tree) |
<F3> |
Toggle NERDTree |
<F5> |
Save and run current Python file |
Ctrl+j/k/h/l |
Navigate between split windows |
Ctrl+Arrow Keys |
Resize split windows |
Ctrl+p |
Open fzf and fuzzy search files in the current directory |
<C-f> / <C-b> |
Scroll inside coc.nvim floating docs/popups |
It would be a shame. But the good news is, you're smart enough to fix it.
Jokes aside, you may reach out to me via hazrachandrima6@gmail.com




