Skip to content

Why not a Helix Mode, to go along with Vi and Emacs? #639

@luccahuguet

Description

@luccahuguet

I think a helix-mode would go a long way into making the reedline experience more complete, now targeting the three major modal editors.

Helix's philosophy is a bit like this (a small excerpt from their vision page on github):

Selection -> Action, not Verb -> Object. Interaction models aren't linguistics, and "selection first" lets you see what you're doing (among other benefits).
We aren't playing code golf. It's more important for the keymap to be consistent and easy to memorize than it is to save a key stroke or two when editing.

helix also has multi-cursors but we could add it later.

Also important to note that helix is heavily inspired by kakoune, so this would be satisfying for that group of users too.

I added a comment in the keybinding discussion: #69 (comment)

and if needed a could open an issue in nushell's main repo.

EDIT:
One can easily set the EDITOR environment variable to hx and then press ctrl o while typing on nushell
This will open a temporary buffer in helix, and there you go, helix mode
So this diminishes the case of this feature, but it still exists, of course!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions