[Top][All Lists]

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

Re: [Nano-devel] [PATCH] add rebinding for Ctrl+Arrow-keys combinations

From: Rishabh Dave
Subject: Re: [Nano-devel] [PATCH] add rebinding for Ctrl+Arrow-keys combinations
Date: Wed, 17 Aug 2016 18:52:15 +0530

On Wed, Aug 17, 2016 at 1:16 AM, Benno Schulenberg
<address@hidden> wrote:
>> CONTROL_LEFT doesn't defines a value even close to the one provided by
>> ncurses;
> It doesn't matter.  That's why you transpose the unknown controlleft
> value from ncurses to the fixed value CONTROL_LEFT.  All done.

Oh... ohkay, I get it now.

We would need a change in nanorc.nanorc as ^Left is coloured by red. I
have attached a patch for that change after committing your patch on a
new branch. Patch allows multiple characters in bind/unbind statements
after '^' and 'M -'. Adding asterisk after [[:alpha:]] sufficed.

Are we looking forward to make M-Arrow keys rebindable? Should it be a
different patch or a part of this? Both are part of the same bug.

And currently in help one alphabet is skipped -
    M-Spac(^Left)   Go back one word
    ^Space(^Right)  Go forward one word

How should it be fixed? Adding a tab between first 2 columns isn't a
good option, is it?

Attachment: add-syntax-for-ctrl-arrow-in-rcfile.patch
Description: Text Data

reply via email to

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