Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.ideavimrc
nmap <leader><leader>s :action KJumpAction<cr>
nmap <leader><leader>w :action KJumpAction.Word0<cr>
nmap <leader><leader>l :action KJumpAction.Line<cr>
set hlsearch
set ignorecase
set smartcase
" Yank from cursor to end of line, to be consistent with C and D.
nnoremap Y y$
" IntelliJ-specific Actions
" -------------------------
"
" Run :actionlist to get a list of these. mapleader isn't supported yet.
" Look for a dismiss action for Ctrl-[
nmap <Space><CR> :action GotoAction<CR>
nmap <Space>o :action GotoFile<CR>
nmap <Space><C-o> :action RecentFiles<CR>
nmap <Space>f :action FileStructurePopup<CR>
nmap <Space><C-f> :action GotoSymbol<CR>
nmap <Space>[ :action ActivateProjectToolWindow<CR>
nmap <Space>] :action ActivateStructureToolWindow<CR>
nmap <Space>k :action DashLauncherAction<CR>
nmap <Space>w :action SaveDocument<CR>
set ideajoin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment