Hi Edward
On Tuesday, 12 August 2014 11:10:07 UTC+1, Edward K. Ream wrote: > > On Sun, Aug 10, 2014 at 4:16 PM, jkn <[email protected] <javascript:>> > wrote: > > > IMO the best key bindings are those of the Brief text editor... > > The Brief key-bindings are modeless and use the Alt-key extensively... > > http://www.vim.org/scripts/script.php?script_id=265 # vim emulation > > Thanks, Jon, for this heads up. > > > I would recommend you take a look at the bindings and see if you think > they > > might suit you. > > Certainly they would be better for me than vim :-) Having said that, > almost by definition I like the Leo bindings just as they are. > > > I would be keen to do anything that would assist in a Brief-compatible > set of key-bindings for Leo. > > Have you tried creating an @keys brief tree in your myLeoSettings.leo? > > For instructions and examples, see leoSettings.leo, the node: > > @settings-->Keyboard shortcuts-->@ignore Unused key bindings > Yes, I have made some steps towards a custom set of commands. The reason I haven't gone further (I have mentioned this in some old postings, but I wouldn't expect you to remember) is that some of the most IMO convenient key-bindings in Brief need some special effort before they can work in Leo. For instance: 1) The numeric key-pad keys are used for special purposes 1a) <keypad-minus> is cut (region if selected, else current line) 1b) <keypad-plus> is copy (region if selected, else current line) 1c) <keypad-insert> is insert from clipboard This works brilliantly, but would require some Qt KeyHandler work to disambiguate the numeric keypad keys from the 'standard' plus, minus, insert keys 2) the use of multiple presses of <home> and <end> 2a) a single <home> moves the cursor to the beginning of the current line 2b) a double <home><home> moves the cursor to the top of the current page (as viewed) 2b) a triple <home><home><home> moves the cursor to the top of the current buffer (would correspond to outline, I guess) Similarly for multiple presses of <end> We had a discussion about this and the use of 'losssage', some time ago. I started to have a go at coding it, but didn't get past the bit where you work out the visible region on screen and move to the beginning/end of it. 3) Many of Brief's commands are ALT- based. I find this much nicer than eg. using ESC as in Vim. But it does clash with windows keys etc, and would mostly mean throwing out a lot of other key bindings. I would be happy to live with that if som of the I did raise some wishlists bug reports on Launchpad around all of this a year or so ago; however I appreciate I may be in an audience of one for all of this. Still, here's hoping... Cheers 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
