1
0
mirror of https://github.com/chylex/dotfiles.git synced 2024-10-19 05:42:49 +02: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 " Move some commands closer on Czech keyboard layout
nnoremap ú @@ nnoremap ú @@
noremap § ; noremap ů ;
map ů % map § %
map gů g%
" Camel humps " Camel humps
noremap L [w noremap L [w
@ -176,10 +175,13 @@ map \\ <C-w>
map \\\\ <C-w><C-w> map \\\\ <C-w><C-w>
" Rebind repurposed commands " Rebind repurposed commands
nnoremap GG G
nnoremap dG dG
nnoremap cG cG
nnoremap M m nnoremap M m
nnoremap Z z nnoremap Z z
" Repurpose 'Enter' for statement completion " Repurpose 'Enter' for statement completion (requires a custom version of IdeaVIM)
nmap <Enter> <Action>(EditorCompleteStatement) nmap <Enter> <Action>(EditorCompleteStatement)
" Repurpose 'g' for navigation (VimJumpToSource requires a custom version of IdeaVIM) " 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.GotoPreviousErrorInOtherMode)
nmap g) <Action>(KM.GotoNextErrorInOtherMode) 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 " Repurpose 'z' for view actions and debugger
map za <Action>(Annotate) map za <Action>(Annotate)
map zb <Action>(ViewBreakpoints) map zb <Action>(ViewBreakpoints)

7
.vimrc
View File

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