Skip to content

Vim style bindings - is there a way to put numerical argument between verb and text-object?' #18

@hgersen

Description

@hgersen

The current macro-example in the readme to get vim-like verbs and text-objects is very neat and makes it easy to get close to Vim-style editing. In particular as it also works with numerical arguments in front, so the following grammar works:

<number> <command> <text object or motion>

However when I use Vim I tend to remember operations that apply to multiple text-objects with the number after the command. Simply because "delete 3 words" makes more sense as a sentence than "3 delete words". So I tend to use the grammar as

<command> <number> <text object or motion>

Any thoughts on whether there would be a way that allows keybindings that has the numerical arguments in front of the text objects or motion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions