5 years with VIM

03/09/2020 - 3 min read - vim



5 years ago was my first day using vim. Things haven’t changed much as I now use neovim as my goto text editor. As soon as projects got bigger, I did start to experiment with numerous plugins and tinkered a lot with my vimrc. Today, as I feel pretty comfy, I decided to share this with you.

My must have plugins

  • fzf probably the most usefull plugin in my opinion. This plugin allow you to navigate painlessly around buffers, tabs, windows… It’s so usefull for big project.
  • vim-polyglot handle all the mainstream languages.
  • vim-vinegar I started with NERDtree before moving to netrw (vim default file explorer). This plugin makes netrw better.
  • vim-fugitive Awesome wrapper for git inside vim.

Some mappings I use often.

  • " open vimrc in a new tab to make some edit
    nnoremap <leader>ev :tabnew $MYVIMRC<cr>
  • " source vimrc
    nnoremap <silent> <leader>sv :write<cr>:source $MYVIMRC<cr>:nohlsearch<cr>
  • " Disable search result when pressing enter
    nnoremap <silent><cr> :nohlsearch<cr>

Project Workflow Demo


You can check my dotfiles to know more.