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

Make C-u work like in shells/readline, remove C-d #300

Open
osa1 opened this issue Jan 11, 2021 · 3 comments
Open

Make C-u work like in shells/readline, remove C-d #300

osa1 opened this issue Jan 11, 2021 · 3 comments

Comments

@osa1
Copy link
Owner

osa1 commented Jan 11, 2021

Currently C-u and C-d scrolls up and down, respectively. These keys were copied from vim (normal mode).

However we already have other keys for this: page up and down, and C-u removes parts before the cursor in the current line in bash, readline, emacs, and vim insert mode.

So I think it makes sense to make C-u consistent with the other tools, and remove C-d. Less stuff to learn.

@Kabouik
Copy link

Kabouik commented Feb 5, 2021

Do you plan on implementing alternatives other than PGDN and PGUP for page scrolling? Not all keyboards have those keys, and visual scrolling using mouse wheel or touch screen doesn't work in things like mosh.

I understand, however, that keyboards with no PGDN/PGUP keys and tiny used through mosh might not be a common combination (but it's my case!).

@osa1
Copy link
Owner Author

osa1 commented Feb 6, 2021

@Kabouik shift+up/down also scrolls, but just one line instead of one "page". Does that combination work in mosh?

@Kabouik
Copy link

Kabouik commented Feb 6, 2021

Yes those combination because they rely on Tiny's scrollback feature, not mosh's (which doesn't really allow scrolling by itself, see #122), but one line at a time can be an issue sometimes. Maybe something like Ctrl+Shift+Up could work? No idea if that is standard though, probably not, and it may be conflicting with other things.

This was referenced May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants