Hello,
after a long training period (!), I am finally comfortable enough with Vim to switch from my current Ledger text editor (TextMate). Given the wonderful auto-completion feature of the vim-plugin, my productivity has increased significantly (TextMate has
auto-completion, too, but not as smart).

To boost my productivity even further, I have added some functionality to the plugin, which I have just submitted as a couple of pull requests. One adds a ledger#entry() function that acts as a front end to `ledger entry`. The second one provides a couple of functions to align commodities, and is based on a tiny brilliant piece of code
submitted on this list long time ago (GotoCol() or something):

https://github.com/ledger/vim-ledger/pull/23
https://github.com/ledger/vim-ledger/pull/22/files

To give you an idea, with suitable mappings you may type, say:

i<tab>Am<tab><cr>e:h<tab><space>123.45<ctrl-l>

to get something like:

2015/05/20 Amazon
 Expenses:Hardware                   123.45 EUR

(note the added currency) where the amount is properly aligned. To type less than that
Vim would have to read your thoughts!

The next step is implementing some functions to generate reports in a flexible way.
I have some preliminary code, but if there are Vim users reading, I welcome
suggestions. Also, since I do not use Emacs, I'd like to hear from Emacs users which killer features Ledger mode has (and the vim-plugin has not), to get some inspiration
to bring them to Vim!

Enjoy!
Life


--

--- You received this message because you are subscribed to the Google Groups "Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to