Improve vim IL motion

This commit is contained in:
Talia 2020-05-11 11:47:18 +02:00
parent 0e43166569
commit b7066fc84d

10
vimrc
View file

@ -533,12 +533,12 @@ command! -nargs=? Tempfile exec 'new '.tempname() | set filetype=<args> | au Bu
" ├─┤ GENERAL KEY MAPPINGS ├─┤ " ├─┤ GENERAL KEY MAPPINGS ├─┤
" │ └──────────────────────┴─┤ " │ └──────────────────────┴─┤
" └──────────────────────────┘ " └──────────────────────────┘
"
onoremap al :<C-U>normal! 0v$h<CR>
onoremap il :<C-U>normal! ^v$h<CR>
nnoremap val 0v$ onoremap al :<C-U>normal! 0vg_<CR>
nnoremap vil ^v$h onoremap il :<C-U>normal! ^vg_<CR>
nnoremap val 0vg_
nnoremap vil ^vg_
" --- F5 --- " --- F5 ---
nnoremap <F5> :nnoremap <buffer> <F5> : nnoremap <F5> :nnoremap <buffer> <F5> :