set nocompatible noexrc secure filetype plugin on call plug#begin() Plug 'tpope/vim-commentary' Plug 'mitjafelicijan/sniper.vim' Plug 'ctrlpvim/ctrlp.vim' call plug#end() set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 set path+=** number autoindent cursorline ignorecase hlsearch incsearch set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 set backspace=indent,eol,start completeopt=menuone grepprg=rg\ --vimgrep colorscheme wildcharm nnoremap :bnext nnoremap :bprevious nnoremap :copen nnoremap :CtrlPBuffer nnoremap q :nohlsearch nnoremap c :silent call system('ctags --c++-kinds=+p -R .') nnoremap r :grep :copen let g:ctrlp_use_caching = 0 let g:ctrlp_working_path_mode = ''