nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] ^K and other functions in the prompt area


From: Benno Schulenberg
Subject: [Nano-devel] ^K and other functions in the prompt area
Date: Sun, 22 Jun 2014 23:01:59 +0200

Hi all,

Reading the code, it appears that nano is able to handle ^K, and
several other functions, when in the prompt area -- for example
when asking for a filename -- but by default this binding is not
made.  I've sometimes missed not being able to simply kill what
I had typed there.  So, shouldn't this binding be made by default?
And the one's for NextWord and PrevWord too?

If you want to try, put this into your .nanorc:

bind ^K cut all
bind ^Space nextword all
bind M-Space prevword all
bind M-] findbracket all

Yes, nano can even find a matching bracket in a prompt line!
Which is way over the top, I think, but really, the function
is already there.  Is anyone using this?  Or could it be axed?

Benno

-- 
http://www.fastmail.fm - mmm... Fastmail...




reply via email to

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