mirror of
https://github.com/chylex/dotfiles.git
synced 2024-11-25 14:42:46 +01:00
Compare commits
No commits in common. "6681099e4779b84ab1fb6a1f65a174283ef2d08c" and "14aa43ede41b11f7c00fd146ff7c5bd7d9a774d6" have entirely different histories.
6681099e47
...
14aa43ede4
22
.ideavimrc
22
.ideavimrc
@ -89,9 +89,8 @@ map é 0
|
||||
|
||||
" Move some commands closer on Czech keyboard layout
|
||||
nnoremap ú @@
|
||||
noremap § ;
|
||||
map ů %
|
||||
map gů g%
|
||||
noremap ů ;
|
||||
map § %
|
||||
|
||||
" Camel humps
|
||||
noremap L [w
|
||||
@ -176,10 +175,13 @@ map \\ <C-w>
|
||||
map \\\\ <C-w><C-w>
|
||||
|
||||
" Rebind repurposed commands
|
||||
nnoremap GG G
|
||||
nnoremap dG dG
|
||||
nnoremap cG cG
|
||||
nnoremap M m
|
||||
nnoremap Z z
|
||||
|
||||
" Repurpose 'Enter' for statement completion
|
||||
" Repurpose 'Enter' for statement completion (requires a custom version of IdeaVIM)
|
||||
nmap <Enter> <Action>(EditorCompleteStatement)
|
||||
|
||||
" Repurpose 'g' for navigation (VimJumpToSource requires a custom version of IdeaVIM)
|
||||
@ -203,6 +205,18 @@ nmap gU <Action>(FindUsages)
|
||||
nmap g( <Action>(KM.GotoPreviousErrorInOtherMode)
|
||||
nmap g) <Action>(KM.GotoNextErrorInOtherMode)
|
||||
|
||||
" Make bidirectional 'g' commands work with 'G' too
|
||||
nmap Gb gb
|
||||
nmap GB gB
|
||||
nmap Ge ge
|
||||
nmap GE gE
|
||||
map Gj gj
|
||||
map Gk gk
|
||||
nmap Gt gt
|
||||
nmap GT gT
|
||||
map Gz gz
|
||||
map GZ gZ
|
||||
|
||||
" Repurpose 'z' for view actions and debugger
|
||||
map za <Action>(Annotate)
|
||||
map zb <Action>(ViewBreakpoints)
|
||||
|
Loading…
Reference in New Issue
Block a user