aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2016-02-21 20:19:44 +0500
committerAnton Bobov <abobov@gmail.com>2016-02-21 20:19:44 +0500
commit201ec39b2b3598efe601854f60b39febe89dba05 (patch)
treec64b5e134f0dd817e951bb32d8edff3f5039e9fb /files
parent38d212c131292c911ed40813cd12673d5459763b (diff)
[vim] Update ledger config.
Diffstat (limited to 'files')
m---------files/.vim/bundle/vim-ledger0
-rw-r--r--files/.vim/ftplugin/ledger.vim2
-rw-r--r--files/.vimrc9
3 files changed, 6 insertions, 5 deletions
diff --git a/files/.vim/bundle/vim-ledger b/files/.vim/bundle/vim-ledger
-Subproject 38d7a037a6959f3dd4efa70d5a780f46328efb6
+Subproject 726359d582adf066905e01ec0081a6d028be97a
diff --git a/files/.vim/ftplugin/ledger.vim b/files/.vim/ftplugin/ledger.vim
deleted file mode 100644
index 33e292a..0000000
--- a/files/.vim/ftplugin/ledger.vim
+++ /dev/null
@@ -1,2 +0,0 @@
-AddTabularPattern! ledger /\v\s{2,}\zs.? ?-?\d+(\.\d+)?( \w+)?$/l0r0
-nmap <Leader>= :%Tabularize ledger<CR>
diff --git a/files/.vimrc b/files/.vimrc
index 141a0ef..527833d 100644
--- a/files/.vimrc
+++ b/files/.vimrc
@@ -303,7 +303,6 @@ nnoremap <Leader>ev :vsplit $MYVIMRC<CR>
" }}}
" Filetype {{{
-
" XML {{{
augroup ft_xml
@@ -313,7 +312,6 @@ augroup ft_xml
augroup END
" }}}
-
" Javascript {{{
augroup ft_javascript
@@ -323,7 +321,12 @@ augroup ft_javascript
augroup END
" }}}
-
+" Ledger {{{
+augroup ft_ledger
+ au!
+ inoremap <silent><buffer> <Leader>e <Esc>:call ledger#entry()<CR>
+augroup END
+" }}}
" }}}
" Plugins {{{
" Surround {{{