diff options
-rw-r--r-- | vim/config/paste.vim | 6 | ||||
-rw-r--r-- | vim/config/terminal.vim | 7 |
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 |