aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/after/plugin/ledger.vim4
1 files changed, 2 insertions, 2 deletions
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<CR>
noremap } /^\d<CR>
- inoremap <silent> <Tab> <C-r>=ledger#autocomplete_and_align()<CR>
- vnoremap <silent> <Tab> :LedgerAlign<CR>
+ inoremap <silent> <buffer> <Tab> <C-r>=ledger#autocomplete_and_align()<CR>
+ vnoremap <silent> <buffer> <Tab> :LedgerAlign<CR>
endfunction
au FileType ledger call s:ledger_keymap()