Created
December 17, 2018 09:45
-
-
Save idursun/72e48af4a3b5971dbcc66f4a33e2aff4 to your computer and use it in GitHub Desktop.
Idea vim bindings
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 hlsearch | |
set visualbell | |
set noerrorbells | |
set ignorecase smartcase | |
set showmode | |
set multiple-cursors | |
set surround | |
nnoremap <space>u :action FindUsages<cr> | |
nnoremap <space>k :action HighlightUsagesInFile<cr> | |
nnoremap <space>j :action EditorCompleteStatement<cr> | |
nnoremap <space>w :action SaveDocument<cr> | |
nnoremap <space>; :action RecentFiles<cr> | |
nnoremap <space>f :action GotoFile<cr> | |
nnoremap <space>s :action GotoSymbol<cr> | |
nnoremap <space>' ct' | |
nnoremap <space>" ct" | |
nnoremap <space>- ct- | |
nnoremap <space>_ ct_ | |
inoremap <C-j> <Esc> | |
" built in search looks better | |
nnoremap / :action Find<cr> | |
" but preserve ideavim search | |
nnoremap g/ / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment