Skip to content
New issue

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

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

Already on GitHub? # to your account

Bash-esque Shortcuts #69

Closed
gjabell opened this issue Sep 17, 2018 · 2 comments
Closed

Bash-esque Shortcuts #69

gjabell opened this issue Sep 17, 2018 · 2 comments

Comments

@gjabell
Copy link

gjabell commented Sep 17, 2018

Since this is a command-line app, it would be nice if the message box supported bash-esque shortcuts, such as:

  • ctrl+a to go to the start of the message
  • ctrl+e to go to the end of the message
  • ctrl+c to clear the current message (this one might be debatable, but I was always disappointed that this wasn't in weechat)
  • others? (can't think of any at the moment)
@ptman
Copy link

ptman commented Sep 22, 2018

s/bash/readline/ ? .inputrc support?-) https://github.com/chzyer/readline

@Soundtoxin
Copy link

* ctrl+c to clear the current message (this one might be debatable, but I was always disappointed that this wasn't in weechat)

That would be ctrl-u, and ctrl-y to paste it again, going with standard binds again.

* others? (can't think of any at the moment)

C-b, C-f, C-n, C-p for back, forward, next, previous, aka alternative to arrow keys. Meta versions of back and forward to move by whole words.

@ghost ghost mentioned this issue Nov 18, 2021
@tulir tulir closed this as completed Nov 10, 2024
Repository owner locked and limited conversation to collaborators Nov 10, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants