diff options
-rw-r--r-- | .vim/after/plugin/ledger.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.vim/after/plugin/ledger.vim b/.vim/after/plugin/ledger.vim index feaae92..b041ec0 100644 --- a/.vim/after/plugin/ledger.vim +++ b/.vim/after/plugin/ledger.vim @@ -27,13 +27,11 @@ function! HLedgerEntry() abort endfunction function! s:ledger_keymap() abort - " formatprg is used in vim-ledger. Thus equalprg is used here. - let &l:equalprg = 'hledger -f- print' - noremap { ?^\d<CR> noremap } /^\d<CR> noremap <silent> <buffer> * :call ledger#transaction_state_toggle(line('.'), ' *!')<CR> + nnoremap <silent> <buffer> <Tab> vip!hledger -f- print<CR> inoremap <silent> <buffer> <c-x><c-x> <c-o>:call HLedgerEntry()<CR> endfunction |