1
0
Fork 0

Compare commits

...

3 Commits

1 changed files with 22 additions and 20 deletions

View File

@ -32,7 +32,6 @@ sethandler <C-G> a:ide
sethandler <C-I> a:ide
sethandler <C-J> a:ide
sethandler <C-K> a:ide
sethandler <C-L> a:ide
sethandler <C-M> a:ide
sethandler <C-R> a:ide
sethandler <C-S> a:ide
@ -49,7 +48,9 @@ sethandler <A-P> a:vim
sethandler <A-S-B> a:vim
sethandler <A-X> a:vim
sethandler <C-D> a:vim
sethandler <C-H> a:vim
sethandler <C-I> a:vim
sethandler <C-L> a:vim
sethandler <C-N> a:vim
sethandler <C-O> a:vim
sethandler <C-P> a:vim
@ -100,10 +101,10 @@ noremap <A-b> ge
noremap <A-S-b> gE
" Navigate editor tabs
noremap <A-h> gT
noremap <A-l> gt
inoremap <A-h> <C-o>gT
inoremap <A-l> <C-o>gt
noremap <C-h> gT
noremap <C-l> gt
inoremap <C-h> <C-o>gT
inoremap <C-l> <C-o>gt
" Increment/decrement numbers
noremap <Bar>+ <C-a>
@ -148,12 +149,12 @@ nmap <BS> <Action>(Back)
nmap <S-BS> <Action>(Forward)
" Navigate inspection highlights
nmap ( :raction GotoPreviousError<CR>
nmap ) :raction GotoNextError<CR>
nmap ( <Action>(GotoPreviousError)
nmap ) <Action>(GotoNextError)
" Navigate to previous/next method
nmap [[ :raction MethodUp<CR>
nmap ]] :raction MethodDown<CR>
nmap [[ <Action>(MethodUp)
nmap ]] <Action>(MethodDown)
" Navigate paragraphs at indentation
map { <Plug>(ParagraphPrevMotion)$
@ -188,26 +189,26 @@ nnoremap Z z
" Repurpose 'Enter' for statement completion (requires a custom version of IdeaVIM)
nmap <Enter> <Action>(EditorCompleteStatement)
" Repurpose 'g' for navigation (:raction requires a custom version of IdeaVIM)
nmap gb :raction GotoNextBookmark<CR>
nmap gB :raction GotoPreviousBookmark<CR>
" Repurpose 'g' for navigation
nmap gb <Action>(GotoNextBookmark)
nmap gB <Action>(GotoPreviousBookmark)
nmap gD <Action>(GotoTypeDeclaration)
nmap ge :raction VcsShowNextChangeMarker<CR>
nmap gE :raction VcsShowPrevChangeMarker<CR>
nmap ge <Action>(VcsShowNextChangeMarker)
nmap gE <Action>(VcsShowPrevChangeMarker)
nmap gf <Action>(VimJumpToSource)<Action>(HideActiveWindow) " VimJumpToSource requires a custom version of IdeaVIM
nmap gi <Action>(GotoImplementation)
map gj :raction EditorCloneCaretBelow<CR>
map gk :raction EditorCloneCaretAbove<CR>
map gj <Action>(EditorCloneCaretBelow)
map gk <Action>(EditorCloneCaretAbove)
nmap gr <Action>(RecentLocations)
nmap gR <Action>(RecentChangedFiles)
nmap gs <Action>(GotoSuperMethod)
nmap gS <Action>(ShowSiblings)
map gt :raction KM.GotoNextTypeInFile<CR>
map gT :raction KM.GotoPreviousTypeInFile<CR>
map gt <Action>(KM.GotoNextTypeInFile)
map gT <Action>(KM.GotoPreviousTypeInFile)
nmap gu <Action>(ShowUsages)
nmap gU <Action>(FindUsages)
nmap g( :raction KM.GotoPreviousErrorInOtherMode<CR>
nmap g) :raction KM.GotoNextErrorInOtherMode<CR>
nmap g( <Action>(KM.GotoPreviousErrorInOtherMode)
nmap g) <Action>(KM.GotoNextErrorInOtherMode)
" Make bidirectional 'g' commands work with 'G' too
nmap Gb gb
@ -283,3 +284,4 @@ xmap mw <Action>(SurroundWith)
" Actions for custom version of AceJump
set acejump
map <Space> <Action>(AceVimAction_JumpAllEditors)
map g<Space> <Action>(AceVimAction_JumpAllEditors_GoToDeclaration)