diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-20 22:45:09 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-20 22:45:09 +1200 |
commit | 323f11bcfb8814cce300777750db335be342723f (patch) | |
tree | 4ddbe5d4e5e7393b0601af64c0e09450d3d34708 /vim | |
parent | Remove 'scrolloff' and 'sidescrolloff' .vimrc set (diff) | |
download | dotfiles-323f11bcfb8814cce300777750db335be342723f.tar.gz dotfiles-323f11bcfb8814cce300777750db335be342723f.zip |
Simplify .vim 'paste' and 'pastetoggle' settings
'paste' is off by default, obviously, and a terser comment can describe
'pastetoggle'.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -211,11 +211,7 @@ vnoremap <silent> & :<C-U>&&<CR> " 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=<F10> " Don't bother about checking whether Escape is being used as a means to enter |