mirror of
https://github.com/chylex/dotfiles.git
synced 2025-07-04 19:38:52 +02:00
Compare commits
2 Commits
0023b10571
...
f69bb44bfa
Author | SHA1 | Date | |
---|---|---|---|
f69bb44bfa | |||
6c4c99a98d |
12
.ideavimrc
12
.ideavimrc
@ -103,7 +103,7 @@ noremap § ;
|
||||
map ů %
|
||||
map gů g%
|
||||
|
||||
" Camel humps
|
||||
" Navigate camel humps
|
||||
noremap L [w
|
||||
noremap H [b
|
||||
nnoremap L [w
|
||||
@ -113,9 +113,11 @@ nnoremap H [b
|
||||
noremap <A-b> ge
|
||||
noremap <A-S-b> gE
|
||||
|
||||
" Increment/decrement numbers
|
||||
noremap <Bar>+ <C-a>
|
||||
noremap <Bar>- <C-x>
|
||||
" Navigate unmatched parentheses/braces
|
||||
noremap g( [(
|
||||
noremap g) ])
|
||||
noremap g{ [{
|
||||
noremap g} ]}
|
||||
|
||||
" Edit from cursor to start/end of parenthesized block
|
||||
nnoremap c) c])
|
||||
@ -227,8 +229,6 @@ map gt gg<Action>(KM.GotoNextTypeInFile)
|
||||
map gT <Action>(KM.GotoNextTypeInFile)
|
||||
map gu <Action>(ShowUsages)
|
||||
map gU <Action>(FindUsages)
|
||||
map g( <Action>(KM.GotoPreviousErrorInOtherMode)
|
||||
map g) <Action>(KM.GotoNextErrorInOtherMode)
|
||||
|
||||
" Repurpose 'z' for view actions and debugger
|
||||
map za <Action>(Annotate)
|
||||
|
8
.vimrc
8
.vimrc
@ -74,7 +74,7 @@ map ů %
|
||||
map gů g%
|
||||
sunmap ů
|
||||
|
||||
" Camel humps (https://github.com/vim-scripts/camelcasemotion)
|
||||
" Navigate camel humps (https://github.com/vim-scripts/camelcasemotion)
|
||||
map L <Plug>CamelCaseMotion_w
|
||||
map H <Plug>CamelCaseMotion_b
|
||||
sunmap L
|
||||
@ -100,6 +100,12 @@ xnoremap gj j
|
||||
nnoremap 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
|
||||
nnoremap c) c])
|
||||
nnoremap d) d])
|
||||
|
Loading…
Reference in New Issue
Block a user