hishtory icon indicating copy to clipboard operation
hishtory copied to clipboard

feature: add vim bindings

Open busla opened this issue 1 year ago • 1 comments

It would be great for us transitioning from fzf to get the following features:

  1. VIM bindings for item navigation
  2. Override item navigationhishtory keybindings.

fzf bindings:

  • ctrl+k: up
  • ctrl+j: down

Since hishtory binds ctrl+k to delete item, overriding that would be a requirement for adopting VIM bindings.

related: https://github.com/ddworken/hishtory/issues/55

busla avatar Mar 13 '24 10:03 busla

Thanks for filing this! The core code for this is actually already in place since we already use a keymap to store configurable key bindings, it just isn't wired up to the config to enable actually customizing this. I'll try to take this on relatively soon, but if anyone is looking to make a contribution, I think this could be a good starter one. :)

ddworken avatar Apr 16 '24 05:04 ddworken

This is now fully released and available, if you run hishtory update you can now customize the key bindings. Check out the README for information on how to do this. If you run into any issues, please re-open this issue to let me know. :)

ddworken avatar Jun 02 '24 17:06 ddworken