|
From: | Elias Mårtenson |
Subject: | Re: [Bug-apl] Keyboard history control |
Date: | Mon, 15 Sep 2014 20:30:05 +0800 |
Thanks. That's OK with me. ☺
Hi,
I added ^K and ^Y. SVN 473.
I have no intention, though, to turn GNU APL into a fully-featured line editor.
I believe emacs-mode or aplwrap is a better place for that.
/// Jürgen
On 09/14/2014 08:57 PM, Blake McBride wrote:
Just offering a personal opinion - supporting those other key combinations is desired and would be used by me.
Thanks.
Blake
On Sun, Sep 14, 2014 at 10:13 AM, Juergen Sauermann <address@hidden> wrote:
Hi Elias,
what concerns me a bit is is that someone might prefer control- instead of alt- in order to get APL characters.
IBM APL2 has a few keyboard layouts doing that. I will add at least ^F and ^B because there exist cursor keys
(and related functions) for that. But I am not at all sure about ^K and ^Y.
/// Jürgen
On 09/14/2014 04:39 PM, Elias Mårtenson wrote:
C-f is forward. Move cursor to the right. C-b is backward, the opposite. C-k deletes everything from the cursor to the end of the line and copies the deleted text to a cut buffer. C-y pastes the content of the cut buffer to the position of the cursor.
If you really want to be fancy, you can add the following too:
C-space, set the position of the mark. C-w delete everything between the cursor and the mark (and copy it to the cut buffer).
Regards,Elias
On 14 September 2014 22:34, Juergen Sauermann <address@hidden> wrote:
Hi Elias,
I have added ^A, ^E, ^P, and ^N assuming they mean cursor home/end/up/down, SVN 472.
Not sure what ^F,^B,^K or ^Y are doing? I believe we should not become too emacs-ish?
/// Jürgen
On 09/13/2014 12:44 PM, Elias Mårtenson wrote:
With the new history control, none of the control-character shortcuts don't work anymore, including C-p, C-n, C-f, C-b, C-a, C-e, C-k and C-y.
Could this be added? I suppose it's a simple matter of adding mappings to existing functions.
Regards,
Elias
[Prev in Thread] | Current Thread | [Next in Thread] |