| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Note: You now have to provide the line number:
call LedgerSetTransactionState(line('.', '*')
|
|
|
|
|
| |
To remove the effective date you would now call the function like this:
call LedgerSetDate(line('.'), 'effective', -1)
|
|
|
|
|
|
|
| |
This allows you to set the effective date in a convenient way.
Maybe I will add date selection using calendar.vim by Yasuhiro
Matsumoto. Until then, you can map this to use today's date:
call LedgerSetDate(line('.'), 'effective')
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
To try this, map or call the following function:
LedgerSetTransactionState('') – removes state
LedgerSetTransactionState('*') – sets 'checked' state
…
The logic used to distinguish the different parts
of the first line of a transaction is rather basic
but proved to work so far.
|
|
|
|
|
| |
You can now try to select some lines using V (visual mode)
and have them automatically formatted using gq
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
That is a completion which is aware of what it should complete.
Currently only account names are supported.
When you insert an account name like this:
Asse<C-X><C-O>
You will get a list of top-level accounts that start like this.
Go ahead and try something like:
As:Ban:Che<C-X><C-O>
When you have an account like this, 'Assets:Bank:Checking'
should show up.
|
| |
|
| |
|
|
|
|
|
| |
Basic support for keyword completion (<C-X> <C-N>)
Will only work on account names with no spaces
|
|
|
|
|
|
|
|
|
| |
This helps to avoid confusion when an account is not
seperated from the amount by two spaces or a tab but only by one space.
In these cases the amount will now be highlighted
as if it belongs to the account name.
Thanks to user 'plaindocs' for reporting this.
|
|
for better extendability
|