Last active
November 25, 2021 22:11
-
-
Save rafaeldelboni/48c73bbdf43cb271ac04abdff45cda55 to your computer and use it in GitHub Desktop.
.ideavimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set clipboard+=unnamed | |
set ignorecase | |
set smartcase | |
set visualbell | |
set noerrorbells | |
" IdeaVim plugins | |
set NERDTree | |
set surround | |
set commentary | |
set multiple-cursors | |
" leaders | |
let mapleader = "\<space>" " Use space as leader key | |
let maplocalleader = "," " Use , as local leader key | |
" lsp | |
nnoremap <Leader>li :action GotoImplementation<CR> | |
nnoremap <Leader>lr :action FindUsages<CR> | |
nnoremap <Leader>lf :action AutoIndentLines<CR> | |
nnoremap <Leader>ln :action RenameElement<CR> | |
" nerdtree | |
map <leader>tt :NERDTreeToggle<CR> | |
map <leader>tr :NERDTreeFind<CR> | |
" easy window navigation | |
nnoremap <c-l> <c-w>l | |
nnoremap <c-j> <c-w>j | |
nnoremap <c-h> <c-w>h | |
nnoremap <c-k> <c-w>k | |
" fuzzyfinder | |
nnoremap <leader>ff :action SearchEverywhere<cr> | |
" comment | |
nnoremap <leader>c<space> :action CommentByLineComment<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment