Skip to content

Instantly share code, notes, and snippets.

@rafaeldelboni
Last active July 25, 2025 17:08
.ideavimrc
set clipboard+=unnamed
set ignorecase
set smartcase
set visualbell
set noerrorbells
set hlsearch
" 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
" clear highlighting on enter in normal mode
nnoremap <CR> :noh<CR><CR>
" 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>
nnoremap <Leader>la :action ShowIntentionActions<CR>
nnoremap <Leader>le :action ShowErrorDescription<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