diff --git a/.config/ideavim/ideavimrc b/.config/ideavim/ideavimrc new file mode 100644 index 0000000..b8d0ac6 --- /dev/null +++ b/.config/ideavim/ideavimrc @@ -0,0 +1,136 @@ +let mapleader = " " +set so=3 +set incsearch +set clipboard+=unnamed +set number +set relativenumber +"" set idearefactormode=visual +set idearefactormode=visual +set ignorecase +set commentary +set highlightedyank +set NERDTree +set ideajoin +set surround +set multiple-cursors + +" TODO Find bindings for these +" map rc :action ChooseRcnConfiguration +" map ;b :action ToggleLineBreakpoint +" map ;e :action EvaluateExpression +" map ;d :action Debug +" map ;r :action Resume +" map ;s :action StepInto +" map ;n :action StepOver +" nmap :action **** Repeat last command +" Find out about VCS tool +" We need to get good bindings for window navigation + +" IDE has nice search behavior, consider adding these +" map / :action Find +" map n :action FindNext +" map N :action FindPrevious +" vnoremap n :action FindNext +" vnoremap N :action FindPrevious +" map * :action FindWordAtCaret +" map # :action FindWordAtCaret + +map rl (IdeaVim.ReloadVimRc.reload) + +map ' ` +map Y y$ +map $ g_ +map vv ^vg_ +vnoremap < >gv +map gt (GotoTypeDeclaration) + +map f (FindInPath) +map (EditorIncreaseFontSize) +map (EditorDecreaseFontSize) +map (EditorResetFontSize) + +map ) (MethodDown) +map ( (MethodUp) + +map \ q +map q (KJumpAction.Word0) + +map i :e ~/.config/ideavim/ideavimrc + +map p (SearchEverywhere) +map c (GotoClass) +map s (FileStructurePopup) +map f (GotoFile) +map r (RecentFiles) +map (GotoAction) +" map u (GotoTest) + +map zd (CollapseDocComments) +map zD (ExpandDocComments) + +map H (MoveEditorToOppositeTabGroup) +map L (MoveEditorToOppositeTabGroup) +noremap 2 +noremap 2 + +map h (HideAllWindows) +map q (CloseContent) +" map t (QuickImplementations) +map d (QuickJavaDoc) +map e (ShowErrorDescription) +map u (FindUsages) +map rn (RenameElement) +map c (ChangeColorScheme) +map bb (BuildCurrentProject) +map br (Run) +map bc (RunClass) +map bd (Debug) +map bs (BuildSolutionAction) +map ; :actionlist +map th (ToggleInlayHintsGloballyAction) +map td (ToggleDistractionFreeMode) + +map w (SaveDocument) +map or (ManageRecentProjects) + +" noremap - (LocateInSolutionView) +noremap - :action SelectInProjectView +map = (ReformatCode) +" vnoremap = (ReformatCode) +map / :nohlsearch +map g/ (Find) + +map g; (JumpToLastChange) +map g, (JumpToNextChange) + +map (GoToTab1) +map (GoToTab2) +map (GoToTab3) +map (GoToTab4) +map (GoToTab5) +map (GoToTab6) +map (GoToTab7) +map (GoToTab8) +map (GoToTab9) + +map (MoveLineDown) +map (MoveLineUp) +map h +map l +map j +map k +map (SurroundWithLiveTemplate) + +map (EditorCloneCaretBelow) +map (EditorCloneCaretAbove) +map A; +map A, +imap A; +map (GotoNextError) +map (GotoPreviousError) +map moo'o +map moO'o +map (ParameterNameHints) + +map (Tool_External Tools_Emacs)