From e1a5446998de78f7057d1500dd44a62a9b7fd31c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 18 Jan 2019 18:19:29 +0000 Subject: Plugin header switcher --- gvimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gvimrc b/gvimrc index d05eade..cb76be3 100644 --- a/gvimrc +++ b/gvimrc @@ -32,8 +32,8 @@ set diffexpr=MyDiff() map :VCSVimDiff au FileType xml,xslt setlocal equalprg=xmllint\ --format\ --recover\ - au FileType json setlocal equalprg=python\ -m\ json.tool -au FileType cpp,h map :e %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp, -au FileType cpp,h map :sp %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp, +au FileType c,cpp,h map :A +au FileType c,cpp,h map :AS au FileType c,cpp,jam,h,slice map :wa:set makeprg=b2\ -qj3:mak au FileType c,cpp,jam,h,slice map :wa:set makeprg=b2\ -qj3\ pch=off:mak au FileType c,cpp,jam,h,slice map :wa:set makeprg=b2\ -qj3\ variant=release:mak -- cgit v1.2.3