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 1c3551b + 94df75a commit 0bce2fdCopy full SHA for 0bce2fd
doc/ledger.txt
@@ -49,6 +49,18 @@ Tips and useful commands
49
50
to catch most potential problems in your source file.
51
52
+* Remap vim paragraph motion to move by transaction.
53
+
54
+ In vim, the "{" and "}" keystrokes move the cursor up and down by whole
55
+ paragraphs. They can be redefined in ledger files to move by transaction
56
+ instead. Add these lines to .vimrc:
57
58
+ au FileType ledger noremap { ?^\d<CR>
59
+ au FileType ledger noremap } /^\d<CR>
60
61
+ The default definitions already work in ledger files that separate
62
+ transactions with blank lines.
63
64
* `:call ledger#transaction_date_set('.'), "auxiliary")`
65
66
will set today's date as the auxiliary date of the current transaction. You
0 commit comments