From 11d13544c1029f63a717735f0251ae45c99f77d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Wed, 12 Jun 2024 09:48:47 +0200 Subject: [PATCH] feat: improve ideavimrc --- modules/programs/jetbrains/ideavimrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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