From f1606f161273f8bdabb256b592dc338de4357682 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 3 Sep 2023 01:20:04 +0800 Subject: Update vim-ledger config --- .vim/after/plugin/ledger.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.vim/after/plugin/ledger.vim') diff --git a/.vim/after/plugin/ledger.vim b/.vim/after/plugin/ledger.vim index 71fa5b1..13d4d98 100644 --- a/.vim/after/plugin/ledger.vim +++ b/.vim/after/plugin/ledger.vim @@ -1,4 +1,6 @@ -let g:ledger_bin = 'ledger' +let g:ledger_bin = 'hledger' +let g:ledger_is_hledger = v:true + let g:ledger_align_at = 50 let g:ledger_maxwidth = 80 let g:ledger_commodity_before = 0 @@ -8,7 +10,7 @@ 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') +let g:ledger_main = expand('$HOME/Sync/ledgers/main.journal') function! s:ledger_keymap() abort noremap { ?^\d -- cgit v1.2.3