nvim/after/ftplugin/ledger.vim
2018-03-20 16:32:05 +01:00

10 lines
223 B
VimL

set textwidth=0
inoremap <S-TAB> <TAB>
inoremap <TAB> <C-R>=SmartTab()<CR>
inoremap <BS> <C-R>=SmartDelete()<CR>
noremap { ?^\d<CR>
noremap } /^\d<CR>
noremap <leader>F :%LedgerAlign<cr>
noremap <leader>f :LedgerAlign<cr>