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