diff options
author | Guangxiong Lin <[email protected]> | 2023-09-03 01:20:04 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-09-03 01:20:04 +0800 |
commit | f1606f161273f8bdabb256b592dc338de4357682 (patch) | |
tree | cebd2eec97bc059635d571786b877935e4cb1a97 /.vim/after/plugin/ledger.vim | |
parent | 61954dc2b7985afb43647af40d03bad8aa04f53e (diff) | |
download | dotfiles-f1606f161273f8bdabb256b592dc338de4357682.tar.gz dotfiles-f1606f161273f8bdabb256b592dc338de4357682.tar.bz2 dotfiles-f1606f161273f8bdabb256b592dc338de4357682.zip |
Update vim-ledger config
Diffstat (limited to '.vim/after/plugin/ledger.vim')
-rw-r--r-- | .vim/after/plugin/ledger.vim | 6 |
1 files changed, 4 insertions, 2 deletions
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<CR> |