[Top][All Lists]

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

[Nano-devel] Ctrl+Left / Ctrl+Right

From: Benno Schulenberg
Subject: [Nano-devel] Ctrl+Left / Ctrl+Right
Date: Sat, 16 Dec 2006 16:30:47 +0100
User-agent: KMail/1.9.5


In many editors Ctrl+Left moves to the preceding word, Ctrl+Right to 
the next word -- even some browsers work like this in form fields, 
and Konqueror even does it in the Location bar.  It would be nice if 
nano could be made to do this too, as the Alt+Space and Ctrl+Space 
are just too unmnemonic to remember.  I understand that this cannot 
become a default part of nano, since on the standard Linux console 
Ctrl+Left and Ctrl+Right cannot be be distinguished from plain Left 
and Right, but if I wanted to make a local patch, to make it work 
in Konsole, how to go about it?

I've tried the attached patch, but it's not working: 
get_escape_seq_kbinput() never even seems to get visited.
What am I overlooking?



Attachment: nano--next-prev-word.patch
Description: Text Data

reply via email to

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