Autocompletion for Vim

29 views
Skip to first unread message

Toby

unread,
Mar 7, 2020, 1:11:35 PM3/7/20
to Ledger
Hi,

I am just curious to know if there is a tab completion for Vim as there is for Emacs.
Also curious to know if there is a functionality like company-mode(autocompletion) for Vim.

Thanks
Toby

Jostein Berntsen

unread,
Mar 8, 2020, 11:19:28 AM3/8/20
to ledge...@googlegroups.com
You have this plugin for vim:

ledger/vim-ledger: Vim plugin for Ledger

https://github.com/ledger/vim-ledger

https://justyn.io/blog/automatically-sort-and-align-ledger-transactions-in-vim/


Jostein

Toby O

unread,
Mar 8, 2020, 1:54:42 PM3/8/20
to ledge...@googlegroups.com
Hi Jostein,
I saw your blog and the vim-ledger page.
Unfortunately it seems like you have to press Ctrl-X, Ctrl-O every time you want to auto-complete it.
Is it possible to bind it to Tab?  I think it would be faster to make entries that way.
What would be even better is auto-complete as you type along the account name (see link below)
What do you think?
Thanks



--

---
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/20200308151757.GA4299%40jostein.
Reply all
Reply to author
Forward
0 new messages