nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] Escape-Escape keyboard sequences


From: Mike Scalora
Subject: [Nano-devel] Escape-Escape keyboard sequences
Date: Wed, 23 Mar 2016 05:27:53 -0600

After trying several workarounds unsuccessfully, I've created a patch for nano to support some escape sequences used by iTerm, a terminal program on the Mac that is very popular among programmers.

I'm happy to go into more detail why I think this patch should be accepted and I would be happy to revise the implementation.

The escape sequences I added support for are:

^[^[[a  -  Option-<up-arrow> - home
^[^[[b  -  Option-<down-arrow> - end
^[^[[c  -  Option-<right-arrow> - word_right
^[^[[d  -  Option-<left-arrow> - word_left

nano then matches the use of these keystrokes by the command line editor.

Please let me know if you are open to accepting a patch for this and/or what adjustments you would like.

Thanks,
-Mike Scalora

Attachment: option_arrows.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]