aboutsummaryrefslogtreecommitdiff
path: root/files/.vimrc
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2014-07-10 09:56:02 +0600
committerAnton Bobov <abobov@gmail.com>2014-07-10 15:42:11 +0600
commit7f7ebca673e1aa848b8c4af737fc72e6bf9a731d (patch)
treea477bc4318333a1d782cedaf8e279c4e96c51bc9 /files/.vimrc
parentd92bc283866947e1347911e19f4ed70a2990e1be (diff)
Update vimrc.
Add XML quick folding key map.
Diffstat (limited to 'files/.vimrc')
-rw-r--r--files/.vimrc16
1 files changed, 14 insertions, 2 deletions
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 <Leader> to comma
let mapleader=","
-
+let maplocalleader="\\"
" Color scheme {{{
@@ -277,6 +276,19 @@ nnoremap <Leader>ev :vsplit $MYVIMRC<CR>
" }}}
+" Filetype {{{
+
+" XML {{{
+
+augroup ft_xml
+ au!
+ au FileType xml nnoremap <buffer> <localleader>z Vatzf
+ au FileType xml vnoremap <buffer> <localleader>z zf
+augroup END
+
+" }}}
+
+" }}}
" Plugins{{{1
" Surround{{{2
" Surrounds double angle quotes «»