mirror of
https://github.com/chylex/dotfiles.git
synced 2024-11-25 14:42:46 +01:00
Compare commits
3 Commits
525ba158f9
...
7ca80f443f
Author | SHA1 | Date | |
---|---|---|---|
7ca80f443f | |||
19d10e7428 | |||
e0b0194256 |
35
.ideavimrc
35
.ideavimrc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user