Hi Edward

On Tuesday, January 31, 2017 at 1:33:16 PM UTC, Edward K. Ream wrote:
>
> I was about to file an enhancement item, but perhaps we should discuss 
> this first.
>
> I have grown fond of using ctrl-up/down arrows to move entire lines. Much 
> easier than copy/paste, and easier on my hands and wrists.
>
> I would like to use ctrl-left/right arrows in a similar manner, but the 
> standard bindings move the cursor by words.  I don't think we can change 
> that.  However, if there is a text selection, I think ctrl-left/right could 
> move the selected text left or right by one character.
>
> Your comments, please.
>
> Edward
>

Hmm - as you will have seen recently I have been trying to get back to a 
'microproject' of adding some editing primitives to Leo to allow it to 
(optionally) work a bit more like CRiSP (Brief editor bindings)

As it happens I have just now been working on the functionality of:

    ALT+D = delete current line
    ALT+K = delete to end of (current) line

and some other ways of working that I find make the Brief bindings very 
usable:

    KeyPad-Minus = 'cut current selection to clipboard'; if nothing 
currently selected then default to 'cut current line to clipboard'
    KeyPad-Plus = 'copy current selection to clipboard'; if nothing 
currently selected then default to 'copy current line to clipboard'
    KeyPad-Insert = 'paste current clipboard'

(We have previously discussed, I think, that there are problems with 
binding to these 'KeyPad-XXX' keys; I was hoping to press you about those 
when I have the underlying functionality working!)

Together these make moving or copying single lines up and down quite easy;
    Keypad-Minus     # or KeyPad-plus for copy
    move cursor
    Keypad-Insert

I can see the benefit of using similar bindings to the tree 'move node' 
commands in the body as 'move line' commands. I guess I would just like to 
flag some of the above as alternate ways of working (and give you a heads 
up on some candidates for inclusion in core)...

    Regards
    Jon N




 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to