From 7f7ebca673e1aa848b8c4af737fc72e6bf9a731d Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Thu, 10 Jul 2014 09:56:02 +0600 Subject: Update vimrc. Add XML quick folding key map. --- files/.vimrc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'files') diff --git a/files/.vimrc b/files/.vimrc index 1797692..e36c2fd 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -118,9 +118,8 @@ set cpoptions+=J " }}} -" Map to comma let mapleader="," - +let maplocalleader="\\" " Color scheme {{{ @@ -277,6 +276,19 @@ nnoremap ev :vsplit $MYVIMRC " }}} +" Filetype {{{ + +" XML {{{ + +augroup ft_xml + au! + au FileType xml nnoremap z Vatzf + au FileType xml vnoremap z zf +augroup END + +" }}} + +" }}} " Plugins{{{1 " Surround{{{2 " Surrounds double angle quotes «» -- cgit v1.2.3