aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-10-13 18:38:45 +0800
committerGuangxiong Lin <[email protected]>2023-10-13 18:38:45 +0800
commit942f2390dddd7019c0a6d19fd5984f3d715af0cb (patch)
tree7283d84155ef8a77eecc7bc1b4967de298a40be3
parentccbf70ffd5b00f2c330c8238c433014c4b9cc703 (diff)
downloaddotfiles-942f2390dddd7019c0a6d19fd5984f3d715af0cb.tar.gz
dotfiles-942f2390dddd7019c0a6d19fd5984f3d715af0cb.tar.bz2
dotfiles-942f2390dddd7019c0a6d19fd5984f3d715af0cb.zip
Update mapping of ledger
-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 b041ec0..16d3c4d 100644
--- a/.vim/after/plugin/ledger.vim
+++ b/.vim/after/plugin/ledger.vim
@@ -27,8 +27,8 @@ function! HLedgerEntry() abort
endfunction
function! s:ledger_keymap() abort
- noremap { ?^\d<CR>
- noremap } /^\d<CR>
+ noremap [[ ?^\d<CR>
+ noremap ]] /^\d<CR>
noremap <silent> <buffer> * :call ledger#transaction_state_toggle(line('.'), ' *!')<CR>
nnoremap <silent> <buffer> <Tab> vip!hledger -f- print<CR>