From f456d790b007c3841549ec35a996483135cceec3 Mon Sep 17 00:00:00 2001 From: gxlin Date: Wed, 16 Jun 2021 00:55:31 +0800 Subject: Add vim-godot plug --- .vim/plugins/ledger.plug | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .vim/plugins/ledger.plug (limited to '.vim/plugins/ledger.plug') diff --git a/.vim/plugins/ledger.plug b/.vim/plugins/ledger.plug new file mode 100644 index 0000000..b3a1e25 --- /dev/null +++ b/.vim/plugins/ledger.plug @@ -0,0 +1,14 @@ +Plug 'ledger/vim-ledger', {'for': 'ledger'} + +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 + noremap } /^\d + inoremap =ledger#autocomplete_and_align() + vnoremap :LedgerAlign +endfunction -- cgit v1.2.3