From 54f121265ece225dfd8e069af1a44878c01730c2 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Wed, 10 Aug 2016 00:01:12 +0500 Subject: [vim] Update templates to new plugin. --- files/.vimrc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'files/.vimrc') diff --git a/files/.vimrc b/files/.vimrc index 13d76ef..69a8e74 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -79,7 +79,6 @@ call vundle#end() filetype plugin indent on syntax on -let g:template_dir=$HOME . "/.vim/templates" " }}} " Options {{{ @@ -407,6 +406,7 @@ augroup END augroup ft_ledger au! au FileType ledger inoremap e :call ledger#entry() + au FileType ledger noremap = :LedgerAlign augroup END " }}} " Org {{{ @@ -415,6 +415,12 @@ augroup ft_org au FileType org setlocal spell nolist tabstop=2 shiftwidth=2 augroup END " }}} +" QuickFix {{{ +augroup ft_qf + au! + au FileType qf set nowrap +augroup END +" }}} " }}} " Plugins {{{ " Surround {{{ @@ -498,7 +504,12 @@ let g:user_emmet_expandabbr_key = '' " delimitMate {{{ let delimitMate_expand_cr = 1 -au FileType html,xml let b:delimitMate_matchpairs="(:),[:],{:}" +au FileType html let b:delimitMate_matchpairs="(:),[:],{:}" + +" }}} +" Template {{{ + +let g:templates_directory=$HOME . "/.vim/templates" " }}} " }}} -- cgit v1.2.3