Skip to content
An Opinionated Minimalist Neovim Configuration
Vim script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

An opinionated Neovim config for the Minimalists

Table of Contents


Modern vim distributions are really huge and bloated with way too many fancy features that you won't ever use or need, for example directory trees like Nerd tree, you don't need a tree, you can view a project structure with fzf which is faster and has search. Another example is ThinkVim has a separate extension for formatting while also having ALE which can do that as well, this double functionality is very common, thats one of the things this distro avoids, KISS!


  • Single file (you don't want your dotfiles to be all vim script)
  • Super minimal (~400 lines)
  • Super fast startup (less than 40ms!)
  • Lazy loading plugins
  • Highly customizable
  • Beautiful Material ocean color scheme
  • VSCode like autocompletion, multi cursor
  • Smooth Scrolling (its really smooth!)
  • file previews in fzf
  • Asynchronous Lint Engine
  • Simple, Intuitive shortcuts

Supported Languages

Neovim provies support for a wide range of languages by default. There is also support for:


  • Linux (not tested on other platforms)
  • Neovim (you can try regular vim)
  • Properly set up environment


To check if your current environment is correctly set up run :CheckHealth.


  • python
    • python3 pip3 install --user pynvim
    • python2 pip2 install --user pynvim
  • ruby gem install neovim
  • nodeJS yarn install -g neovim



  • git clone ~/.config/nvim
  • Start nvim and it will do the rest
  • press enter if there are any errors (don't worry its fine)


Thanks to vim-plug the plugins are lazy loaded (anything that is not needed for the current buffer is not loaded) for example opening a python file means all other non python related plugins are not loaded.
Coc extensions are lazy loaded as well, they work the same way as vim-plug plugins.

Plugin Functionality
vim-airline airline status line
airline-themes airline themes
devicons icons everywhere
rainbow rainbow parenthesis
vim-material material themes
goyo focus mode
coc.nvim async completion and more
ale-sensible better ALE experience
ale diagnostics, linting and more
fzf fuzzy finder
fzf.vim fuzzy finder vim integration
ultisnips snippets engine
vim-snippets snippets for many languages
vim-closetag auto html tag closing
indentLine auto indent lines
vim-searchindex show index of a search string
vim-liquid liquid language support
vim-commentary better comments everywhere
vim-sensible sensible defaults for vim
suda add sudo support
vim-auto-save auto save on insert mode exit
vim-startify cool startup thingy
vim-carbon-no-sh cool screen shots powered by carbon now sh
vim-fugitive best git integration around
vim-surround surround stuff with stuff
vim-smoothie super smooth scrolling
vim-lastplace open a file in the last place cursor was
vim-cool better search highlight control
tmux-complete tmux panes completion
Tagbar list of tags
vim-eunuch some common Linux commands

Keyboard shortcuts

To learn the default vim shortcuts run Tutor and or checkout this site.
Not a lot of changes have been done here, the plugins shortcuts are almost identical, check each plugin under the plugins section for its key mappings, the changes i have made either make a function easier to access and or expose a hidden functionality within a plugin.


, == leader key
S == Shift key
C == ctrl key

Mapping functionality Replaced Mapping
; commands key :
,r reload nvim config None
,t Trim white spaces(enabled by default with ALE) None
,q close tab :q
,w save changes(tho save when existing insert mode is enabled by default) :q
,f fzf files viewer (shows project files with the ability to search) None
,g Goyo (zen mode) Default
,m opens markdown preview (only in markdown files) None
,e call :PlugInstall (install plugins) None
,/ search in project folder (calls Ag) None
jj Escape Esc
d use a different register for deletion (so the deleted text wont be copied) "_d
C-q close all buffers and exit nvim None
C-c copy text to system clipboard (only in visual mode) +y
C-x cut text to system clipboard (only in visual mode) +d
C-l move to the split on the right Default
C-k move the split above Default
C-j move to the split on below Default
C-h Move the split to the left Default
C-c highlights character for multi cursor selection (in normal mode) None
C-a Highlights word/selection for multi cursor selection None
ENTER insert blank line below in normal mode None
ENTER inputs selected snippet in insert mode None
Tab cycles throw coc in insert mode None
Tab switch to the next buffer(tab) Default
S-Tab switch to the previous buffer(tab) Default
F5 Rotates splits in current view None
F6 Startify Default
F8 opens selection in carbon now sh (only in visual mode) None


Since the file is pretty small its very easy to interpret by even those who don't have any knowledge about vim script, most of the sections have comments about their functionality, and can be removed, commented out or swapped easily, there are some defaults that are not everyone's cup of tea (after all this is highly opinionated).

  • Disabling autosave: set let g:auto_save = 0
  • Disabling format on save: set let g:ale_fix_on_save = 0
  • removing words from completion: CocList extensions highlight extension then press Tab to show actions

Most of the included plugins are highly customizable in nature (this is vim), checkout Plugins


fzf preview asciicast asciicast asciicast


All the Credit goes to the Neovim team for making most of the extensions possible and better (async), and to all the plugins developers, and the hacker who spend time Finding good shortcuts and tricks to make this an even more superb experience.

You can’t perform that action at this time.