diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-10 21:38:41 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-10 21:39:28 +1300 |
commit | 3719d9a42f339e40f3e74657cedc2aa9b25f6820 (patch) | |
tree | 4adbe726f507f55a52598b4a21fee89ebbdfb455 /vim | |
parent | Move wildmenu config into completion.vim (diff) | |
download | dotfiles-3719d9a42f339e40f3e74657cedc2aa9b25f6820.tar.gz dotfiles-3719d9a42f339e40f3e74657cedc2aa9b25f6820.zip |
Move 'paste' options into terminal.vim
'paste' is specific to the terminal only anyway.
Diffstat (limited to 'vim')
-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 |