Ticket #45994

Add clear and redraw binding

Date d'ouverture: 2022-10-28 05:11 Dernière mise à jour: 2022-10-30 21:10

Rapporteur:
(Anonyme)
Propriétaire:
(Aucun)
État:
Ouvert
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun
Vote
Score: 1
100.0% (1/1)
0.0% (0/1)

Détails

I think not having this binding by default is frustrating for many users, myself included, as I've spent a good chunk of time trying to find it in the documentation and wondered why it is not enabled by default.

Would you consider adding the following line to the "share/initialization/common" file?

... # some useful key bindings bindkey --emacs '\L' clear-and-redraw-all bindkey --emacs '\N' beginning-search-forward ...

Thanks in advance for your time and effort!

Ticket History (3/4 Histories)

2022-10-28 05:11 Updated by: None
  • New Ticket "Add clear and redraw binding" created
2022-10-28 15:55 Updated by: firasuke
Commentaire

I think the correct binding should be:

bindkey --emacs '\L' clear-and-redraw-all

And I agree it should be added as a default binding inside /usr/share/yash/initialization/common as it is considered an expected behavior in many shells.

(Edited, 2022-10-28 15:56 Updated by: firasuke)
2022-10-29 00:01 Updated by: magicant
Commentaire

ksh and mksh seem to bind ESC C-L to a clear-and-redraw-all equivalent though bash and zsh do C-L.

2022-10-30 21:10 Updated by: firasuke
Commentaire

Well regardless of the implementation, does yash provide a default key binding to clear and redraw?

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion