1
0
mirror of https://github.com/chylex/dotfiles.git synced 2024-10-18 20:42:49 +02:00

Compare commits

..

3 Commits

View File

@ -30,10 +30,8 @@ sethandler <C-E> a:ide
sethandler <C-F> a:ide
sethandler <C-G> a:ide
sethandler <C-I> a:ide
sethandler <C-H> 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
@ -50,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
@ -149,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)$
@ -189,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
@ -284,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)