1
0
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.

2 changed files with 21 additions and 8 deletions

View File

@ -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)

7
.vimrc
View File

@ -69,10 +69,9 @@ map é 0
" Move some commands closer on Czech keyboard layout
nnoremap ú @@
noremap § ;
map ů %
map g%
sunmap ů
noremap ů ;
map § %
sunmap §
" Camel humps (https://github.com/vim-scripts/camelcasemotion)
map L <Plug>CamelCaseMotion_w