aboutsummaryrefslogtreecommitdiff
path: root/vim/config/terminal.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config/terminal.vim')
-rw-r--r--vim/config/terminal.vim7
1 files changed, 7 insertions, 0 deletions
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