jqp icon indicating copy to clipboard operation
jqp copied to clipboard

Feature request: vi mode in the editor input box

Open qmacro opened this issue 3 years ago • 2 comments

Love that we have another interactive jq client, thank you for developing it. I was wondering if you'd consider vi mode in the editor input box? In other words, just like one has the ability to switch from the default (emacs) mode on the (*nix) command line to vi mode. See https://readline.kablamo.org/vi.html for background. I'm not sure how many folks use vi mode on the command line, but I do, and it makes things so much faster and more efficient for me, and would be amazing to have that same experience when constructing and editing filters in jqp.

Thanks!

qmacro avatar Oct 17 '22 15:10 qmacro

Thanks for the feedback and feature request @qmacro! I'm also a vi mode fella and agree this would make a great addition. Will explore implementing this into jqp.

noahgorstein avatar Oct 18 '22 03:10 noahgorstein

I would endorse this feature too, it would be great to have vim mode built-in!

On a similar note, is it possible already do move around the preview windows via vim commands, in particular gg and G to go to the top/bottom and / to just search for a string? If not, do you think it would make a good feature request?

gennaro-tedesco avatar Oct 31 '22 22:10 gennaro-tedesco