From d1211dbc0d808997c05260c0c4872fbd48517037 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 27 Jun 2022 01:30:52 +0200 Subject: [PATCH] vim:settings: Add `block` to `virtualedit` Let the cursor move beyond the EOL when in visual-block mode. --- .config/vim/vimrc.d/30-settings.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/vim/vimrc.d/30-settings.vim b/.config/vim/vimrc.d/30-settings.vim index 19c72e2..19a3900 100644 --- a/.config/vim/vimrc.d/30-settings.vim +++ b/.config/vim/vimrc.d/30-settings.vim @@ -76,6 +76,8 @@ set autoread set iskeyword+=- " Do not automatically insert at EOF if missing set nofixendofline +" Let the cursor move beyond the EOL when in visual-block mode. +set virtualedit+=block if (exists('g:loaded_gitgutter')) " Augment the default `foldtext()` with an indicator whether the folded