diff --git a/.vimrc b/.vimrc index 7ad81f22f06998d2bf10ec561b93131e492bc381..f4c57e26a79c3117c862ad3e6291dbe38e6077e3 100644 --- a/.vimrc +++ b/.vimrc @@ -3,11 +3,11 @@ filetype plugin on call plug#begin() Plug 'tpope/vim-commentary' - Plug 'mitjafelicijan/sniper.vim' - Plug 'mitjafelicijan/c3.vim' Plug 'ctrlpvim/ctrlp.vim' Plug 'dense-analysis/ale' Plug 'airblade/vim-gitgutter' + Plug 'mitjafelicijan/sniper.vim' + Plug 'mitjafelicijan/c3.vim' call plug#end() set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 @@ -25,33 +25,30 @@ set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case set grepformat=%f:%l:%c:%m endif -nnoremap :bnext -nnoremap :bprevious -nnoremap :cnext -nnoremap :cprevious -nnoremap :copen -nnoremap :CtrlPBuffer -nnoremap :ALEHover -nnoremap :ALEDetail -nnoremap d :bd -nnoremap q :nohlsearch -nnoremap e :ALEPopulateQuickfix:sleep 100m:copen -nnoremap w :silent! grep! \| cwindow \| redraw! - -nmap gr :ALEFindReferences -quickfix:sleep 100m:copen -nmap gd :ALEGoToDefinition -nmap re :ALERename - -imap (ale_complete) - -nnoremap :m .+1== -nnoremap :m .-2== -nnoremap >> -nnoremap << -vnoremap :m '>+1gv=gv -vnoremap :m '<-2gv=gv -vnoremap >gv -vnoremap :bnext +nnoremap :bprevious +nnoremap :cnext +nnoremap :cprevious +nnoremap :copen +nnoremap :CtrlPBuffer +nnoremap :ALEHover +nnoremap :ALEDetail +nnoremap d :bd +nnoremap q :nohlsearch +nnoremap e :ALEPopulateQuickfix:sleep 100m:copen +nnoremap w :silent! grep! \| cwindow \| redraw! +nnoremap :m .+1== +nnoremap :m .-2== +nnoremap >> +nnoremap << +vnoremap :m '>+1gv=gv +vnoremap :m '<-2gv=gv +vnoremap >gv +vnoremap gr :ALEFindReferences -quickfix:sleep 100m:copen +nmap gd :ALEGoToDefinition +nmap re :ALERename +imap (ale_complete) let g:ctrlp_use_caching = 0 let g:ctrlp_show_hidden = 1