diff --git a/modules/programs/jetbrains/ideavimrc b/modules/programs/jetbrains/ideavimrc index 0a79200..da67110 100644 --- a/modules/programs/jetbrains/ideavimrc +++ b/modules/programs/jetbrains/ideavimrc @@ -4,12 +4,15 @@ let mapleader=" " """ Plugins -------------------------------- set surround set commentary +set NERDTree """ Common settings ------------------------- set showmode set so=5 set incsearch set nu +set relativenumber +set number """ Which-Key set which-key @@ -36,6 +39,8 @@ let g:WhichKeyDesc_extract_field = 'ef Extract field' map ef (IntroduceField) let g:WhichKeyDesc_extract_parameter = 'ep Extract parameter' map ep (IntroduceParameter) +let g:WhichKeyDesc_extract_method = 'em Extract method' +map em (ExtractMethod) let g:WhichKeyDesc_rename = 'r Rename' map r (RenameElement) @@ -46,13 +51,14 @@ map [b (PreviousTab) let g:WhichKeyDesc_next_buffer = ']b Next buffer' map ]b (NextTab) -let g:WhichKeyDesc_prev_error = 'gI Goto Implementation' +let g:WhichKeyDesc_goto_impl = 'gI Goto implementation' map gI (GotoImplementation) +let g:WhichKeyDesc_goto_type = 'gt Goto type declaration' +map gt (GotoTypeDeclaration) "" Other let g:WhichKeyDesc_terminal = 't Terminal' map t (ActivateTerminalToolWindow) -map (HideActiveWindow) map = (ReformatCode) "" Folding