We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba26b76 + 3b64cb5 commit 59ccbddCopy full SHA for 59ccbdd
autoload/ledger.vim
@@ -551,8 +551,8 @@ function! ledger#output(report)
551
call append(0, a:report)
552
setlocal nomodifiable
553
" Set local mappings to quit window or lose focus.
554
- nnoremap <silent> <buffer> <tab> <c-w><c-w>
555
- nnoremap <silent> <buffer> q <c-w>c
+ nnoremap <silent> <buffer> <tab> <c-w><c-p>
+ nnoremap <silent> <buffer> q <c-w><c-p>@=winnr("#")<cr><c-w>c
556
" Add some coloring to the report
557
syntax match LedgerNumber /-\@1<!\d\+\([,.]\d\+\)\+/
558
syntax match LedgerNegativeNumber /-\d\+\([,.]\d\+\)\+/
0 commit comments