From 1c5ef09a4902b817e8ce21026f862e2e31481dcc Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Thu, 12 Oct 2023 12:17:20 +0800 Subject: Map only local buffer for ledger files --- .vim/after/plugin/ledger.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.vim/after/plugin/ledger.vim') diff --git a/.vim/after/plugin/ledger.vim b/.vim/after/plugin/ledger.vim index 13d4d98..6dea35b 100644 --- a/.vim/after/plugin/ledger.vim +++ b/.vim/after/plugin/ledger.vim @@ -15,8 +15,8 @@ let g:ledger_main = expand('$HOME/Sync/ledgers/main.journal') function! s:ledger_keymap() abort noremap { ?^\d noremap } /^\d - inoremap =ledger#autocomplete_and_align() - vnoremap :LedgerAlign + inoremap =ledger#autocomplete_and_align() + vnoremap :LedgerAlign endfunction au FileType ledger call s:ledger_keymap() -- cgit v1.2.3