Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support a leading count for keybindings #31

Open
hupfdule opened this issue Oct 22, 2020 · 1 comment
Open

Please support a leading count for keybindings #31

hupfdule opened this issue Oct 22, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@hupfdule
Copy link

This Issue is the next level of #28.

Many users are used to be able to use a count for keybindings. While this may be only nice-to-have (but still very handy) in most cases, it becomes very apparent with the g keybinding.

It basically has the same functionality in ov as in less, but in ov it is quite cumbersome.

To jump to line 10 in less, one can type:

10g

In ov one has to type:

g10<enter>

Not much, as it is only 1 keystroke more, but since the order of the count and the commands keybinding is exchanged it is hard to use for people accustomed to less.

It gets even worse when trying to jump to the beginning of the file.

In less one can type:

g

by just omitting the count.

I ov it is still necessary to type:

1g<enter>

Therefore I think it would be a nice addition to support a count for commands as this can come in handy for most commands and makes ov much easier to use for previous less-users.

@noborus
Copy link
Owner

noborus commented Oct 23, 2020

Thank you for the issue.

This is convenient, but it may limit other features.
I want to think carefully.

@noborus noborus added the enhancement New feature or request label Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants