1
0
mirror of https://github.com/chylex/dotfiles.git synced 2025-07-05 13:38:52 +02:00

Compare commits

..

No commits in common. "f69bb44bfa76c1fcb7c362f60ee350413ff7c288" and "0023b105716292ebec2aee51c0158fe7959250c9" have entirely different histories.

2 changed files with 7 additions and 13 deletions

View File

@ -103,7 +103,7 @@ noremap § ;
map ů % map ů %
map gů g% map gů g%
" Navigate camel humps " Camel humps
noremap L [w noremap L [w
noremap H [b noremap H [b
nnoremap L [w nnoremap L [w
@ -113,11 +113,9 @@ nnoremap H [b
noremap <A-b> ge noremap <A-b> ge
noremap <A-S-b> gE noremap <A-S-b> gE
" Navigate unmatched parentheses/braces " Increment/decrement numbers
noremap g( [( noremap <Bar>+ <C-a>
noremap g) ]) noremap <Bar>- <C-x>
noremap g{ [{
noremap g} ]}
" Edit from cursor to start/end of parenthesized block " Edit from cursor to start/end of parenthesized block
nnoremap c) c]) nnoremap c) c])
@ -229,6 +227,8 @@ map gt gg<Action>(KM.GotoNextTypeInFile)
map gT <Action>(KM.GotoNextTypeInFile) map gT <Action>(KM.GotoNextTypeInFile)
map gu <Action>(ShowUsages) map gu <Action>(ShowUsages)
map gU <Action>(FindUsages) map gU <Action>(FindUsages)
map g( <Action>(KM.GotoPreviousErrorInOtherMode)
map g) <Action>(KM.GotoNextErrorInOtherMode)
" Repurpose 'z' for view actions and debugger " Repurpose 'z' for view actions and debugger
map za <Action>(Annotate) map za <Action>(Annotate)

8
.vimrc
View File

@ -74,7 +74,7 @@ map ů %
map g% map g%
sunmap ů sunmap ů
" Navigate 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
map H <Plug>CamelCaseMotion_b map H <Plug>CamelCaseMotion_b
sunmap L sunmap L
@ -100,12 +100,6 @@ xnoremap gj j
nnoremap gk k nnoremap gk k
xnoremap gk k xnoremap gk k
" Navigate unmatched parentheses/braces
noremap g( [(
noremap g) ])
noremap g{ [{
noremap g} ]}
" Edit from cursor to start/end of parenthesized block " Edit from cursor to start/end of parenthesized block
nnoremap c) c]) nnoremap c) c])
nnoremap d) d]) nnoremap d) d])