Update ledger-vim settings

This commit is contained in:
Alexander Gehrke 2021-08-11 12:21:34 +02:00
parent e38f121db3
commit 601ba8f1ec

View file

@ -1,9 +1,8 @@
set textwidth=0 set textwidth=0
inoremap <silent> <Tab> <C-r>=ledger#autocomplete_and_align()<CR>
vnoremap <silent> <buffer> <Tab> :LedgerAlign<CR>
inoremap <S-TAB> <TAB> inoremap <S-TAB> <TAB>
inoremap <TAB> <C-R>=SmartTab()<CR>
inoremap <BS> <C-R>=SmartDelete()<CR>
noremap { ?^\d<CR> noremap { ?^\d<CR>
noremap } /^\d<CR> noremap } /^\d<CR>
noremap <leader>F :%LedgerAlign<cr> noremap <leader>F <cmd>%LedgerAlign<cr>
noremap <leader>f :LedgerAlign<cr> noremap <leader>f <cmd>LedgerAlign<cr>