Created
April 10, 2024 12:19
-
-
Save gquittet/1886094d962ea69ca2332397578a32a3 to your computer and use it in GitHub Desktop.
IdeaVIM config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set commentary | |
set highlightedyank | |
set sneak | |
set surround | |
set scrolloff=999 | |
" Diagnostic | |
nmap [g <Action>(GotoPreviousError) | |
nmap ]g <Action>(GotoNextError) | |
nmap ]] <Action>(MethodDown) | |
nmap [[ <Action>(MethodUp) | |
nmap <C-j> <Action>(MoveStatementDown) | |
nmap <C-k> <Action>(MoveStatementUp) | |
" LSP | |
nmap <space>a <Action>(ShowIntentionActions) | |
" Goto | |
nmap gi <Action>(GotoImplementation) | |
nmap gr <Action>(FindUsages) | |
nmap gt <Action>(GotoTest) | |
nmap gy <Action>(GotoTypeDeclaration) | |
nmap <silent> <C-h> :nohl<CR> | |
nmap <space>rr <Action>(IdeaVim.ReloadVimRc.reload) | |
nmap <space>rc <Action>(ChooseRunConfiguration) | |
" Find | |
nmap <space>fa <Action>(GotoAction) | |
nmap <space>fc <Action>(GotoClass) | |
vmap <space>fc <Action>(GotoClass) | |
nmap <space>fd <Action>(GotoDatabaseObject) | |
vmap <space>fd <Action>(GotoDatabaseObject) | |
nmap <space>ff <Action>(GotoFile) | |
vmap <space>ff <Action>(GotoFile) | |
nmap <space>fo <Action>(FileStructurePopup) | |
vmap <space>fo <Action>(FileStructurePopup) | |
nmap <space>fr <Action>(Switcher) | |
nmap <space>ft <Action>(GotoSymbol) | |
vmap <space>ft <Action>(GotoSymbol) | |
nmap \\ <Action>(FindInPath) | |
vmap \\ <Action>(FindInPath) | |
" Git | |
nmap ]c <Action>(VcsShowNextChangeMarker) | |
nmap [c <Action>(VcsShowPrevChangeMarker) | |
nmap <space>gb <Action>(Git.Branches) | |
nmap <space>gf <Action>(Git.Fetch) | |
nmap <space>gm <Action>(Vcs.QuickListPopupAction) | |
nmap <space>gp <Action>(Vcs.UpdateProject) | |
nmap <space>gP <Action>(Vcs.Push) | |
nmap <space>gra <Action>(Git.Rebase.Abort) | |
nmap <space>grc <Action>(Git.Rebase.Continue) | |
nmap <space>grs <Action>(Git.Rebase.Skip) | |
nmap <space>gR <Action>(Git.Rebase) | |
nmap <space>gZ <Action>(Vcs.RollbackChangedLines) | |
" Debugger | |
nmap <space>db <Action>(ToggleLineBreakpoint) | |
nmap <space>dB <Action>(AddConditionalBreakpoint) | |
nmap <space>de <Action>(EditBreakpoint) | |
nmap <space>dl <Action>(ViewBreakpoints) | |
nmap <space>dt <Action>(ToggleBreakpointEnabled) | |
nmap <space>dc <Action>(RunToCursor) | |
nmap <space>di <Action>(StepInto) | |
nmap <space>do <Action>(StepOver) | |
nmap <space>dO <Action>(StepOut) | |
nmap <space>dp <Action>(Pause) | |
nmap <space>dr <Action>(Resume) | |
nmap <space>dk <Action>(Stop) | |
nmap <space>dx <Action>(EvaluateExpression) | |
nmap <space>rn <Action>(RenameElement) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment