From 506f94ad3b47d442117caa0ae929725c8b338515 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 13 Sep 2010 17:39:20 +0200 Subject: [PATCH] vimrc: Disable 'spell', 'list' and 2match when viewing documentation. --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vimrc b/vimrc index 86c23f0..946ff88 100644 --- a/vimrc +++ b/vimrc @@ -396,6 +396,10 @@ if has('autocmd') " OTHER AUTO COMMANDS +" Disable spell checking, displaying of list characters and long lines when +" viewing documentation. + autocmd BufReadPost /usr/share/doc/* setlocal nospell nolist | 2match + " Use diff filetype for mercurial patches in patch queue. autocmd BufReadPost */.hg/patches/* set filetype=diff -- 2.45.2