diff options
author | gxlin <[email protected]> | 2021-08-01 23:51:46 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-08-01 23:51:46 +0800 |
commit | dd7e28d3a92f901b8a1853cdd70656aa09bb4540 (patch) | |
tree | 2b7cb31608aa4d6015c70eda0fd3d4ac15d92ca0 /.vim/plugin/ledger.plug | |
parent | 7d84531e60d5fdddf16b1c4d61332075127ce1c8 (diff) | |
download | dotfiles-dd7e28d3a92f901b8a1853cdd70656aa09bb4540.tar.gz dotfiles-dd7e28d3a92f901b8a1853cdd70656aa09bb4540.tar.bz2 dotfiles-dd7e28d3a92f901b8a1853cdd70656aa09bb4540.zip |
Modify vim config
Diffstat (limited to '.vim/plugin/ledger.plug')
-rw-r--r-- | .vim/plugin/ledger.plug | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/.vim/plugin/ledger.plug b/.vim/plugin/ledger.plug deleted file mode 100644 index b3a1e25..0000000 --- a/.vim/plugin/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 |