Created
October 19, 2019 02:56
-
-
Save zhengbli/bafb7d189996da97d017c8497d4007bc to your computer and use it in GitHub Desktop.
.ideavimrc
This file contains hidden or 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
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