aboutsummaryrefslogtreecommitdiff
path: root/.vim/plugin/ledger.vim
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-02 11:48:21 +0800
committerGuangxiong Lin <[email protected]>2022-04-02 11:48:21 +0800
commit0587d80453bc92acb20b351fd17bc2f9126e01b0 (patch)
treec16ded09f47751abca3f21b35825a1c7873425ba /.vim/plugin/ledger.vim
parent9ed3898acfdab8f1361e46c755f337eec96c4028 (diff)
downloaddotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.tar.gz
dotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.tar.bz2
dotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.zip
Update plugin config location in vim
Diffstat (limited to '.vim/plugin/ledger.vim')
-rw-r--r--.vim/plugin/ledger.vim14
1 files changed, 0 insertions, 14 deletions
diff --git a/.vim/plugin/ledger.vim b/.vim/plugin/ledger.vim
deleted file mode 100644
index 77f5f3a..0000000
--- a/.vim/plugin/ledger.vim
+++ /dev/null
@@ -1,14 +0,0 @@
-let g:ledger_bin = 'ledger'
-let g:ledger_align_at = 50
-let g:ledger_commodity_before = 0
-let g:ledger_align_commodity = 1
-let g:ledger_extra_options = '--pedantic --explicit --check-payees'
-
-function! s:ledger_keymap() abort
- noremap { ?^\d<CR>
- noremap } /^\d<CR>
- inoremap <silent> <Tab> <C-r>=ledger#autocomplete_and_align()<CR>
- vnoremap <silent> <Tab> :LedgerAlign<CR>
-endfunction
-
-au FileType ledger call s:ledger_keymap()