nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] [PATCH] support for alt-arrow keys


From: Urja Rannikko
Subject: [Nano-devel] [PATCH] support for alt-arrow keys
Date: Fri, 11 Aug 2017 15:37:31 +0300

Hi, this patch (attached) was born because i wanted to do this:
bind M-Left prevbuf main
bind M-Right nextbuf main

And then I found out nano had no support at all for alt-arrow keys. Uh oh.
It slightly reworks the key parsing to have less special casing in
the M-things.
Also fixes you previously being able to bind like bare arrow keys and such
with F-1 to F-9.

I added a simplistic update to the nanorc man page.
I know that nanorc.nanorc would need to be updated to
properly highlight those new keys, but I'm not that good
at regexes.

And as a last thing, keep me in the CC for this thread,
i dont intend to develop nano that much to warrant joining the list.

-- 
Urja Rannikko

Attachment: 0001-keys-support-binding-alt-left-right-up-down-keys.patch
Description: Text Data


reply via email to

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