diff options
| author | Anton Bobov <abobov@gmail.com> | 2016-08-10 00:01:12 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2016-08-10 00:06:56 +0500 |
| commit | 54f121265ece225dfd8e069af1a44878c01730c2 (patch) | |
| tree | ca446dd7f13d5b8caf603f8bbc6b68164a493881 /files/.vimrc | |
| parent | a3a4c9eafbecab8b223e259d331622a132f56e8f (diff) | |
[vim] Update templates to new plugin.
Diffstat (limited to 'files/.vimrc')
| -rw-r--r-- | files/.vimrc | 15 |
1 files changed, 13 insertions, 2 deletions
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 <silent><buffer> <Leader>e <Esc>:call ledger#entry()<CR> + au FileType ledger noremap = :LedgerAlign<CR> 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 = '<C-e>' " 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" " }}} " }}} |
