aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2025-02-10 06:15:50 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2025-02-10 06:15:50 +0100
commitdb8dd67caa7363c2088ea8f99f547048b195a087 (patch)
treecc2eadbfc13fba39ef2a60ffc98342c3354d3bcf /.vimrc
parent69583ca02a3033d1a22523984258930ef31490a6 (diff)
downloaddotfiles-db8dd67caa7363c2088ea8f99f547048b195a087.tar.gz
Added different key for macos tmux
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>