diff options
author | Guangxiong Lin <[email protected]> | 2022-11-03 09:34:12 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-11-03 09:34:12 +0800 |
commit | 8ac3dd2358b2da31a6b2dce75e8cc65a6bfd8b11 (patch) | |
tree | fdefa0d2d7d5a46949b67ed6c370eab818c03a88 /.vim/after/plugin/ledger.vim | |
parent | 369156a18fc528e94b6a7e49bb87ac94b8b0054d (diff) | |
download | dotfiles-8ac3dd2358b2da31a6b2dce75e8cc65a6bfd8b11.tar.gz dotfiles-8ac3dd2358b2da31a6b2dce75e8cc65a6bfd8b11.tar.bz2 dotfiles-8ac3dd2358b2da31a6b2dce75e8cc65a6bfd8b11.zip |
Update ledger.vim config
Diffstat (limited to '.vim/after/plugin/ledger.vim')
-rw-r--r-- | .vim/after/plugin/ledger.vim | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.vim/after/plugin/ledger.vim b/.vim/after/plugin/ledger.vim index 77f5f3a..71fa5b1 100644 --- a/.vim/after/plugin/ledger.vim +++ b/.vim/after/plugin/ledger.vim @@ -1,8 +1,14 @@ let g:ledger_bin = 'ledger' let g:ledger_align_at = 50 +let g:ledger_maxwidth = 80 let g:ledger_commodity_before = 0 let g:ledger_align_commodity = 1 -let g:ledger_extra_options = '--pedantic --explicit --check-payees' +let g:ledger_align_last = v:true +let g:ledger_decimal_sep = '.' +let g:ledger_commodity_sep = ' ' +let g:ledger_date_format = '%Y-%m-%d' +let g:ledger_extra_options = '' +let g:ledger_main = expand('$HOME/ledgers/main.journal') function! s:ledger_keymap() abort noremap { ?^\d<CR> |