From 323f11bcfb8814cce300777750db335be342723f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 20 Jun 2018 22:45:09 +1200 Subject: Simplify .vim 'paste' and 'pastetoggle' settings 'paste' is off by default, obviously, and a terser comment can describe 'pastetoggle'. --- vim/vimrc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index aab44c87..2ac81c8c 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -211,11 +211,7 @@ vnoremap & :&& " this with a 'directory' setting set noswapfile -" 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 +" Press F10 to stop console Vim from formatting pasted text set pastetoggle= " Don't bother about checking whether Escape is being used as a means to enter -- cgit v1.2.3