aboutsummaryrefslogtreecommitdiff
path: root/vim/config/visual.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config/visual.vim')
-rw-r--r--vim/config/visual.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/config/visual.vim b/vim/config/visual.vim
new file mode 100644
index 00000000..8bac2cf1
--- /dev/null
+++ b/vim/config/visual.vim
@@ -0,0 +1,5 @@
+" When in visual block mode, let me move the cursor anywhere in the buffer;
+" don't restrict me only to regions with text
+if has('virtualedit')
+ set virtualedit+=block
+endif