aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index b2a36db..37f9e69 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,6 +1,7 @@
1call plug#begin() 1call plug#begin()
2 Plug 'tpope/vim-sensible' 2 Plug 'tpope/vim-sensible'
3 Plug 'tpope/vim-commentary' 3 Plug 'tpope/vim-commentary'
4 Plug 'tpope/vim-unimpaired'
4 Plug 'airblade/vim-gitgutter' 5 Plug 'airblade/vim-gitgutter'
5 Plug 'ctrlpvim/ctrlp.vim' 6 Plug 'ctrlpvim/ctrlp.vim'
6 Plug 'dense-analysis/ale' 7 Plug 'dense-analysis/ale'
@@ -23,6 +24,11 @@ nnoremap <C-j> :ALEDetail<cr>
23nnoremap <C-r> :!sh .vim<CR> 24nnoremap <C-r> :!sh .vim<CR>
24nnoremap <Leader>r :let @/ = ''<CR> 25nnoremap <Leader>r :let @/ = ''<CR>
25 26
27nmap <C-Up> [e
28nmap <C-Down> ]e
29vmap <C-Up> [egv
30vmap <C-Down> ]egv
31
26nmap <silent> gr :ALEFindReferences<cr> 32nmap <silent> gr :ALEFindReferences<cr>
27nmap <silent> gd :ALEGoToDefinition<cr> 33nmap <silent> gd :ALEGoToDefinition<cr>
28nmap <silent> re :ALERename<cr> 34nmap <silent> re :ALERename<cr>