mirror of
https://github.com/chylex/dotfiles.git
synced 2024-11-25 05:42:47 +01:00
Compare commits
2 Commits
14aa43ede4
...
6681099e47
Author | SHA1 | Date | |
---|---|---|---|
6681099e47 | |||
0903e926bb |
22
.ideavimrc
22
.ideavimrc
@ -89,8 +89,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ů g%
|
||||||
|
|
||||||
" Camel humps
|
" Camel humps
|
||||||
noremap L [w
|
noremap L [w
|
||||||
@ -175,13 +176,10 @@ 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 (requires a custom version of IdeaVIM)
|
" Repurpose 'Enter' for statement completion
|
||||||
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)
|
||||||
@ -205,18 +203,6 @@ 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
7
.vimrc
@ -69,9 +69,10 @@ map é 0
|
|||||||
|
|
||||||
" Move some commands closer on Czech keyboard layout
|
" Move some commands closer on Czech keyboard layout
|
||||||
nnoremap ú @@
|
nnoremap ú @@
|
||||||
noremap ů ;
|
noremap § ;
|
||||||
map § %
|
map ů %
|
||||||
sunmap §
|
map gů g%
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user