Git Product home page Git Product logo

Comments (10)

Benaiah avatar Benaiah commented on June 6, 2024 4

I have an existing branch with j/k keybindings for scrolling up and down - adding a <ctrl-w> keybind would be pretty easy. I messed up some stuff in git, but I'll try to get that finished up and send in a pull request today.

from wuzz.

acarl005 avatar acarl005 commented on June 6, 2024 3

You're absolutely right. I'd be happy with a command line option like wuzz --vim-keys or something like that and I could just alias it.

from wuzz.

Benaiah avatar Benaiah commented on June 6, 2024 1

@asciimoo I agree with making keybinds configurable. wuzz could use a config file for quite a few things - for instance, settings like pretty-printing seem like they would be a bit awkward to provide on the command line.

from wuzz.

Benaiah avatar Benaiah commented on June 6, 2024

@acarl005 did you have any other suggestions for vim keybinds (other than in the text fields themselves, not sure how feasible that would be)?

from wuzz.

acarl005 avatar acarl005 commented on June 6, 2024

Apart from the window commands, the ability to navigate (hjkl and bweBWE) within the text fields would be the most useful imho. It would be nice to be able to quickly copy-paste text blocks, e.g. copying a whole JSON object with ya{ to the system clipboard if possible.

from wuzz.

asciimoo avatar asciimoo commented on June 6, 2024

Maybe, it would be better to make keybindings configurable in the future.
I love vim too, but unfortunately not everybody feels the same, and they may not find it intuitive.

from wuzz.

caedn avatar caedn commented on June 6, 2024

I see that ctrl-j/k jump to the next/previous field, I think ctrl-h/l to jump between columns would be very useful too.

Some common readline keybindings would be very nice as well. Especially ctrl-a/e to jump to the beginning and end of a line. Maybe use alt+hjkl for the vim navigation so they don't shadow the readline commands.

Opening the $EDITOR for a field (maybe with ctrl-x-e) would be my preferred way to edit anything beyond the most basic stuff.

from wuzz.

justinas avatar justinas commented on June 6, 2024

Alternatively, I would suggest an option of Readline/Emacs keybindings. Ctrl-A, Ctrl-E, Alt-F, Alt-B like in the shell would be super useful.

from wuzz.

nigurr avatar nigurr commented on June 6, 2024

Can we add support for vim? so that delete line is easy :) currently i don't have option for this

from wuzz.

ieatmumble avatar ieatmumble commented on June 6, 2024

Hi,

Indeed, it would be really helpful to be able to delete one row of text, along the lines of dd in vim or ctrl+k in nano, at least for the cases when the text is pasted from a different source, in bulk.
Along the same lines, being able to delete everything to the left on the same row and everything to the right would be extra helpful.

Thanks a lot for this useful and promising tool!

from wuzz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.