" Color scheme colorscheme Tomorrow-Night if has("gui_running") " Set GUI font according to OS if has("gui_macvim") || has("gui_vimr") set guifont=Source\ Code\ Pro:h14 elseif has("gui_gtk2") set guifont=DejaVu\ Sans\ Mono\ 15 endif " Color scheme set background=dark colorscheme gruvbox " Remove scrollbars set guioptions-=R set guioptions-=r set guioptions-=L set guioptions-=l endif " Map ctrl-hjkl for easy window movement map h map j map k map l " Set backspace for consistent behaviour set backspace=indent,eol " Tell Vim we're on a 256 color terminal if $TERM == "xterm-256color" || $TERM == "screen-256color" || $COLORTERM == "gnome-terminal" set t_Co=256 endif " Tell NERDCommenter to put spaces in let NERDSpaceDelims=1 " Extend plugins source $HOME/.vim/vimrc.d.vim