From 3719d9a42f339e40f3e74657cedc2aa9b25f6820 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 10 Nov 2017 21:38:41 +1300 Subject: Move 'paste' options into terminal.vim 'paste' is specific to the terminal only anyway. --- vim/config/paste.vim | 6 ------ vim/config/terminal.vim | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 vim/config/paste.vim 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= 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= + " 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 -- cgit v1.2.3