diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:12:36 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:12:36 +1300 |
commit | 8d59180a2d2a6c404e77011c2e8ba4cdac09c36a (patch) | |
tree | 6d3644fda5652815b0a25b8f6cda42df24db16a6 /vim | |
parent | Move 'shellslash' .vimrc conf into cmds subfile (diff) | |
download | dotfiles-8d59180a2d2a6c404e77011c2e8ba4cdac09c36a.tar.gz dotfiles-8d59180a2d2a6c404e77011c2e8ba4cdac09c36a.zip |
Move visual-mode .vimrc config into subfile
Diffstat (limited to 'vim')
-rw-r--r-- | vim/config/visual.vim | 5 | ||||
-rw-r--r-- | vim/vimrc | 6 |
2 files changed, 5 insertions, 6 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 @@ -67,12 +67,6 @@ set sidescrolloff=16 nnoremap & :&&<CR> vnoremap & :&&<CR> -" 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 - " Use the tilde as an operator with motions, rather than just swapping the " case of the character under the cursor set tildeop |