Add line motions to vim

This commit is contained in:
Talia 2020-05-06 16:34:55 +02:00
parent a55329c0b4
commit 9dff1f802c
1 changed files with 6 additions and 0 deletions

6
vimrc
View File

@ -501,6 +501,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$
nnoremap vil ^v$h
" --- F5 --- " --- F5 ---
nnoremap <F5> :nnoremap <buffer> <F5> : nnoremap <F5> :nnoremap <buffer> <F5> :