Skip to content

Instantly share code, notes, and snippets.

@remorsecs
Last active February 15, 2021 21:44
Show Gist options
  • Save remorsecs/93ee98617e686b988ac69a2b6ad1b315 to your computer and use it in GitHub Desktop.
Save remorsecs/93ee98617e686b988ac69a2b6ad1b315 to your computer and use it in GitHub Desktop.
.ideavimrc settings for PyCharm IdeaVim plugin
nmap zf :action ReformatCode<CR>
imap zf <Esc>:action ReformatCode<CR>
nmap zh ^
nmap zl $
nmap z; A:
nmap zz
nmap <BS> a<BS>
nmap zrr :action CreateRunConfiguration<CR>
imap zrr :action CreateRunConfiguration<CR>
nmap zre :action editRunConfigurations<CR>
imap zre <ESC>:action editRunConfigurations<CR>
nmap zrw :action Run<CR>
imap zrw <ESC>:action Run<CR>
map zrm :action ExtractMethod<CR>
imap zrm <Esc>:action ExtractMethod<CR>
vmap zrm :action ExtractMethod<CR>
vmap M :action ExtractMethod<CR>
map zri :action Inline<CR>
imap zri <Esc>:action Inline<CR>
map zrf :action IntroduceField<CR>
imap zrf <Esc>:action IntroduceField<CR>
map zrp :action IntroduceParameter<CR>
imap zrp <Esc>:action IntroduceParameter<CR>
nmap zsp f":action IntroduceParameter<CR>
map zrv :action IntroduceVariable<CR>
vmap zrv <Esc>:action IntroduceVariable<CR>
imap zrv <Esc>:action IntroduceVariable<CR>
vmap S :action SurroundWithLiveTemplate<CR>
map zrt :action SearchEverywhere<CR>
imap zrt <Esc>:action SearchEverywhere<CR>
map zro :action Move<CR>
imap zro <Esc>:action Move<CR>
map <tab> :action EditorIndentLineOrSelection<CR>
imap <tab> :action EditorIndentLineOrSelection<CR>
nmap ,g :action Generate<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment