aboutsummaryrefslogtreecommitdiff
path: root/.vim/plugins/ledger.plug
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-07-15 21:28:06 +0800
committergxlin <[email protected]>2021-07-15 21:28:06 +0800
commitd4e1469e4b0c5aaf5c23be555e8b224f9254d781 (patch)
treee68a0e5dd44ee43efc2d70c081f41ae3237a78c1 /.vim/plugins/ledger.plug
parent36f249e1a7250e24f0c415b5bc53ba1b2f5806d4 (diff)
downloaddotfiles-d4e1469e4b0c5aaf5c23be555e8b224f9254d781.tar.gz
dotfiles-d4e1469e4b0c5aaf5c23be555e8b224f9254d781.tar.bz2
dotfiles-d4e1469e4b0c5aaf5c23be555e8b224f9254d781.zip
A usable boostrap config
Diffstat (limited to '.vim/plugins/ledger.plug')
-rw-r--r--.vim/plugins/ledger.plug14
1 files changed, 0 insertions, 14 deletions
diff --git a/.vim/plugins/ledger.plug b/.vim/plugins/ledger.plug
deleted file mode 100644
index b3a1e25..0000000
--- a/.vim/plugins/ledger.plug
+++ /dev/null
@@ -1,14 +0,0 @@
-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<CR>
- noremap } /^\d<CR>
- inoremap <silent> <Tab> <C-r>=ledger#autocomplete_and_align()<CR>
- vnoremap <silent> <Tab> :LedgerAlign<CR>
-endfunction