From 9dff1f802c6eb0df4a6fcfec73d27a39049e327e Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 6 May 2020 16:34:55 +0200 Subject: [PATCH] Add line motions to vim --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vimrc b/vimrc index d5a2cf3..1e93a28 100644 --- a/vimrc +++ b/vimrc @@ -501,6 +501,12 @@ command! -nargs=? Tempfile exec 'new '.tempname() | set filetype= | au Bu " ├─┤ GENERAL KEY MAPPINGS ├─┤ " │ └──────────────────────┴─┤ " └──────────────────────────┘ +" +onoremap al :normal! 0v$h +onoremap il :normal! &v$h + +nnoremap val 0v$ +nnoremap vil ^v$h " --- F5 --- nnoremap :nnoremap :