mirror of
https://github.com/chylex/dotfiles.git
synced 2024-11-25 14:42:46 +01:00
Compare commits
1 Commits
7ca80f443f
...
525ba158f9
Author | SHA1 | Date | |
---|---|---|---|
525ba158f9 |
35
.ideavimrc
35
.ideavimrc
@ -30,8 +30,10 @@ 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
|
||||
@ -48,9 +50,7 @@ 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 ( <Action>(GotoPreviousError)
|
||||
nmap ) <Action>(GotoNextError)
|
||||
nmap ( :raction GotoPreviousError<CR>
|
||||
nmap ) :raction GotoNextError<CR>
|
||||
|
||||
" Navigate to previous/next method
|
||||
nmap [[ <Action>(MethodUp)
|
||||
nmap ]] <Action>(MethodDown)
|
||||
nmap [[ :raction MethodUp<CR>
|
||||
nmap ]] :raction MethodDown<CR>
|
||||
|
||||
" 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
|
||||
nmap gb <Action>(GotoNextBookmark)
|
||||
nmap gB <Action>(GotoPreviousBookmark)
|
||||
" Repurpose 'g' for navigation (:raction requires a custom version of IdeaVIM)
|
||||
nmap gb :raction GotoNextBookmark<CR>
|
||||
nmap gB :raction GotoPreviousBookmark<CR>
|
||||
nmap gD <Action>(GotoTypeDeclaration)
|
||||
nmap ge <Action>(VcsShowNextChangeMarker)
|
||||
nmap gE <Action>(VcsShowPrevChangeMarker)
|
||||
nmap ge :raction VcsShowNextChangeMarker<CR>
|
||||
nmap gE :raction VcsShowPrevChangeMarker<CR>
|
||||
nmap gf <Action>(VimJumpToSource)<Action>(HideActiveWindow) " VimJumpToSource requires a custom version of IdeaVIM
|
||||
nmap gi <Action>(GotoImplementation)
|
||||
map gj <Action>(EditorCloneCaretBelow)
|
||||
map gk <Action>(EditorCloneCaretAbove)
|
||||
map gj :raction EditorCloneCaretBelow<CR>
|
||||
map gk :raction EditorCloneCaretAbove<CR>
|
||||
nmap gr <Action>(RecentLocations)
|
||||
nmap gR <Action>(RecentChangedFiles)
|
||||
nmap gs <Action>(GotoSuperMethod)
|
||||
nmap gS <Action>(ShowSiblings)
|
||||
map gt <Action>(KM.GotoNextTypeInFile)
|
||||
map gT <Action>(KM.GotoPreviousTypeInFile)
|
||||
map gt :raction KM.GotoNextTypeInFile<CR>
|
||||
map gT :raction KM.GotoPreviousTypeInFile<CR>
|
||||
nmap gu <Action>(ShowUsages)
|
||||
nmap gU <Action>(FindUsages)
|
||||
nmap g( <Action>(KM.GotoPreviousErrorInOtherMode)
|
||||
nmap g) <Action>(KM.GotoNextErrorInOtherMode)
|
||||
nmap g( :raction KM.GotoPreviousErrorInOtherMode<CR>
|
||||
nmap g) :raction KM.GotoNextErrorInOtherMode<CR>
|
||||
|
||||
" Make bidirectional 'g' commands work with 'G' too
|
||||
nmap Gb gb
|
||||
@ -284,4 +284,3 @@ xmap mw <Action>(SurroundWith)
|
||||
" Actions for custom version of AceJump
|
||||
set acejump
|
||||
map <Space> <Action>(AceVimAction_JumpAllEditors)
|
||||
map g<Space> <Action>(AceVimAction_JumpAllEditors_GoToDeclaration)
|
||||
|
Loading…
Reference in New Issue
Block a user