aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-10 21:38:41 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-10 21:39:28 +1300
commit3719d9a42f339e40f3e74657cedc2aa9b25f6820 (patch)
tree4adbe726f507f55a52598b4a21fee89ebbdfb455
parent3592b950fc75003077cd4d208553f344bf6d892e (diff)
downloaddotfiles-3719d9a42f339e40f3e74657cedc2aa9b25f6820.tar.gz
dotfiles-3719d9a42f339e40f3e74657cedc2aa9b25f6820.zip
Move 'paste' options into terminal.vim
'paste' is specific to the terminal only anyway.
-rw-r--r--vim/config/paste.vim6
-rw-r--r--vim/config/terminal.vim7
2 files changed, 7 insertions, 6 deletions
diff --git a/vim/config/paste.vim b/vim/config/paste.vim
deleted file mode 100644
index fa26d6f4..00000000
--- a/vim/config/paste.vim
+++ /dev/null
@@ -1,6 +0,0 @@
-" Start paste mode with F10 to prevent console Vim from confusing a swathe of
-" pre-formatted pasted text with actual keyboard input, and thereby attempting
-" to indent it inappropriately. If unimpaired.vim is available, it's generally
-" nicer to use yo or yO.
-set nopaste
-set pastetoggle=<F10>
diff --git a/vim/config/terminal.vim b/vim/config/terminal.vim
index 8dbda431..202705a7 100644
--- a/vim/config/terminal.vim
+++ b/vim/config/terminal.vim
@@ -1,3 +1,10 @@
+" Start paste mode with F10 to prevent console Vim from confusing a swathe of
+" pre-formatted pasted text with actual keyboard input, and thereby attempting
+" to indent it inappropriately. If unimpaired.vim is available, it's generally
+" nicer to use yo or yO.
+set nopaste
+set pastetoggle=<F10>
+
" Don't bother about checking whether Escape is being used as a means to enter
" a Meta-key combination, just register Escape immediately
set noesckeys