Skip to content

Instantly share code, notes, and snippets.

@nontravis
Last active December 17, 2019 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nontravis/c4e2bfa027703babc0bc540bde85701f to your computer and use it in GitHub Desktop.
Save nontravis/c4e2bfa027703babc0bc540bde85701f to your computer and use it in GitHub Desktop.
nmap <S-l> gt
nmap <S-h> gT
nmap <S-w>L :action VimWindowRight<CR>
nmap <S-w>H :action VimWindowLeft<CR>
nmap <S-w>J :action VimWindowDown<CR>
nmap <S-w>K :action VimWindowUp<CR>
nmap <M-j> 5j5<C-e>
nmap <M-k> 5k5<C-y>
"for window <C-r>" in insert mode, for mac cmd+v
imap <C-r>" <esc>:action EditorPaste<CR>a
nmap 'p :action ActivatePreviewToolWindow<CR>
nmap 'f :action ActivateProjectToolWindow<CR>
nmap 'ter :action ActivateTerminalToolWindow<CR>
nmap 'a :action ActivateAndroidMonitorToolWindow<CR>
nmap 'to :action ActivateTODOToolWindow<CR>
nmap '<Esc> :action HideActiveWindow<CR>
nmap f :action AceAction<CR>
nmap F :action AceLineAction<CR>
nmap m ]m
nmap M [m
set surround
set clipboard+=unnamed
@AlexPl292
Copy link

Hi! Since 0.54 version of IdeaVim all the :action Vim* mappings don't work anymore. Here are the details: https://youtrack.jetbrains.com/issue/VIM-1871#focus=streamItem-27-3864326.0-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment