diff options
Diffstat (limited to 'vim/config/paste.vim')
-rw-r--r-- | vim/config/paste.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/config/paste.vim b/vim/config/paste.vim new file mode 100644 index 00000000..fa26d6f4 --- /dev/null +++ b/vim/config/paste.vim @@ -0,0 +1,6 @@ +" 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> |