-
-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vi-like readline in hledger add #1502
Comments
While I agree VI-like readline bindings would be cool (zle even cooler), one way you can go is using real VIM to edit your ledger ;-) Just a friendly note to say that I keep vim-ledger An interactive mode has been requested (cf. ledger/vim-ledger#18) but is not immanent. The vim-ledger_x project has a bit more interactive approach to things, but also has more rough edges. |
@alerque thank you for the suggestion (and your work on vim-ledger). I will try it out! |
AFAIK, vi-mode would come for free with readline. Is there a reason hledger is not using readline for input? |
hledger uses haskeline (https://hackage.haskell.org/package/haskeline), a Haskell-native readline-like. Someone could research whether haskeline supports these things.. |
Turns out it actually does have a vi mode! 🎉 |
Hurrah! Is there something we need to do to enable it ?
|
No, it's just a config file, similar to readline's |
Thank you for the many years of hard work on this project! Makes tax season much more bearable.
Is it possible to use vi-like keybindings inside hledger add? (emulate readline functionality with
set -o vi
)?The text was updated successfully, but these errors were encountered: