1
0
mirror of https://github.com/chylex/dotfiles.git synced 2025-10-15 13:12:01 +02:00

Compare commits

...

2 Commits

2 changed files with 10 additions and 6 deletions

View File

@@ -47,18 +47,22 @@ sethandler <C-Y> a:ide
sethandler <C-\> a:ide sethandler <C-\> a:ide
sethandler <A-B> a:vim sethandler <A-B> a:vim
sethandler <A-E> a:vim
sethandler <A-H> a:vim sethandler <A-H> a:vim
sethandler <A-J> a:vim sethandler <A-J> a:vim
sethandler <A-K> a:vim sethandler <A-K> a:vim
sethandler <A-L> a:vim sethandler <A-L> a:vim
sethandler <A-M> a:vim
sethandler <A-N> a:vim sethandler <A-N> a:vim
sethandler <A-O> a:vim sethandler <A-O> a:vim
sethandler <A-P> a:vim sethandler <A-P> a:vim
sethandler <A-S-B> a:vim sethandler <A-S-B> a:vim
sethandler <A-S-E> a:vim
sethandler <A-S-H> a:vim sethandler <A-S-H> a:vim
sethandler <A-S-J> a:vim sethandler <A-S-J> a:vim
sethandler <A-S-K> a:vim sethandler <A-S-K> a:vim
sethandler <A-S-L> a:vim sethandler <A-S-L> a:vim
sethandler <A-S-M> a:vim
sethandler <A-S-O> a:vim sethandler <A-S-O> a:vim
sethandler <A-V> a:vim sethandler <A-V> a:vim
sethandler <A-X> a:vim sethandler <A-X> a:vim
@@ -129,8 +133,8 @@ nnoremap L [w
nnoremap H [b nnoremap H [b
" Navigate to end of previous word " Navigate to end of previous word
noremap <A-b> ge noremap <A-e> ge
noremap <A-S-b> gE noremap <A-S-e> gE
" Navigate unmatched parentheses/braces " Navigate unmatched parentheses/braces
noremap g( [( noremap g( [(
@@ -163,8 +167,8 @@ xnoremap > >gv
xnoremap = =gv xnoremap = =gv
" Extend selection " Extend selection
xmap x <Action>(EditorSelectWord) map <A-m> <Action>(EditorSelectWord)
xmap X <Action>(EditorUnSelectWord) map <A-S-m> <Action>(EditorUnSelectWord)
" Turn capital letters into opposite actions " Turn capital letters into opposite actions
" nnoremap U :redo<CR> " Handled by custom version of IdeaVIM " nnoremap U :redo<CR> " Handled by custom version of IdeaVIM

4
.vimrc
View File

@@ -118,8 +118,8 @@ omap iH <Plug>CamelCaseMotion_ib
xmap iH <Plug>CamelCaseMotion_ib xmap iH <Plug>CamelCaseMotion_ib
" Navigate to end of previous word " Navigate to end of previous word
noremap <M-b> ge noremap <M-e> ge
noremap <M-S-b> gE noremap <M-S-e> gE
" Navigate soft-wrapped lines " Navigate soft-wrapped lines
nnoremap <expr> j v:count ? 'j' : 'gj' nnoremap <expr> j v:count ? 'j' : 'gj'