blob: 0dc2e8286add69bc76af5d2da58b66d0b20f1397 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
let g:ledger_bin = 'ledger'
let g:ledger_align_at = 50
let g:ledger_commodity_before = 0
au FileType ledger call s:ledger_keymap()
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
|