1
0
Fork 0

Compare commits

...

2 Commits

2 changed files with 8 additions and 21 deletions

View File

@ -89,8 +89,9 @@ map é 0
" Move some commands closer on Czech keyboard layout
nnoremap ú @@
noremap ů ;
map § %
noremap § ;
map ů %
map gů g%
" Camel humps
noremap L [w
@ -175,13 +176,10 @@ 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 (requires a custom version of IdeaVIM)
" Repurpose 'Enter' for statement completion
nmap <Enter> <Action>(EditorCompleteStatement)
" Repurpose 'g' for navigation (VimJumpToSource requires a custom version of IdeaVIM)
@ -205,18 +203,6 @@ 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,9 +69,10 @@ map é 0
" Move some commands closer on Czech keyboard layout
nnoremap ú @@
noremap ů ;
map § %
sunmap §
noremap § ;
map ů %
map g%
sunmap ů
" Camel humps (https://github.com/vim-scripts/camelcasemotion)
map L <Plug>CamelCaseMotion_w