Re: Aha: vim trainer mode

2014-08-12 Thread Edward K. Ream
On Sun, Aug 10, 2014 at 4:16 PM, jkn jkn...@nicorp.f9.co.uk 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

Aha: vim mode is a great success, even when not enabled

2014-08-12 Thread Edward K. Ream
Behind the scenes, vim mode's code is cleaner and more flexible than I dared hoped. The connections between the code in leoVim.py and the rest of Leo are trivial. This present code is far simpler than that implied by previous designs. But the actual code is the least impressive part of the

Re: Summary of vim mode: please test it now

2014-08-12 Thread Steve Zatz
... it works for me. I'm jealous. Can you point me where in myLeoSettings.leo the connection is made between : and entering command-line mode? Also, I am getting these two conflicting key bindings but they seem unrelated to the command-line issue. conflicting key bindings in myLeoSettings.leo

Re: Vim emulation: ready for testing!

2014-08-12 Thread Kent Tenney
Are you trying to replicate vim operation or has there been a 'fork' and bindings are vim-like? IE: do you keep vim open and check it's operation against Leo? I see in current commit message: Added :r returnfilenamereturn ... this works as described, but being different than vim, it becomes a

Re: Vim emulation: ready for testing!

2014-08-12 Thread Edward K. Ream
On Tue, Aug 12, 2014 at 8:32 AM, Kent Tenney kten...@gmail.com wrote: Are you trying to replicate vim operation or has there been a 'fork' and bindings are vim-like? The former. IE: do you keep vim open and check it's operation against Leo? Yes. I see in current commit message: Added :r

Re: Summary of vim mode: please test it now

2014-08-12 Thread Edward K. Ream
On Tue, Aug 12, 2014 at 7:06 AM, Steve Zatz slz...@gmail.com wrote: ... it works for me. I'm jealous. Can you point me where in myLeoSettings.leo the connection is made between : and entering command-line mode? @bool vim-mode = True Also, I am getting these two conflicting key bindings

Re: Vim emulation: ready for testing!

2014-08-12 Thread Kent Tenney
NP. I am relying on you to test vim mode. I gave myself an early birthday present (I turn 65 tomorrow) and disabled vim mode. :! echo Happy Birthday Edward! /tmp/hb.txt : r /tmp/hb.txt return (works in REAL vim) :P On Tue, Aug 12, 2014 at 8:56 AM, Edward K. Ream edream...@gmail.com wrote:

Re: load files into Leo from the command line

2014-08-12 Thread Edward K. Ream
On Sun, Aug 3, 2014 at 2:17 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Just upgraded my script to load files into Leo from the command line, thought it was shared somewhere before, but not finding it, I've put it here:

Re: Autocompleting dictionaries keys

2014-08-12 Thread Edward K. Ream
On Mon, Aug 4, 2014 at 2:39 AM, Fidel N fidelpe...@gmail.com wrote: Hi: This is a feature request that I thought could be very nice. Interesting. Please file a wishlist bug. EKR -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-12 Thread Edward K. Ream
On Mon, Aug 4, 2014 at 10:53 AM, Jacob Peck gatesph...@gmail.com wrote: Regarding tags, I hacked the nodetags.py plugin together, available at commit b9a764c59de263fbdb47969f1d318759b955c442. Thanks for this. I've filed this in a to-be-documented folder, so it will be mentioned in the next

Find-previous fails at last node

2014-08-12 Thread lewis
HI Edward, Find-previous fails at last node when selected by mouse-click Open LeoDocs.leo search for 'shell-command' Find Next: F3 repeat until it reaches the last instance at LeoDocs.leo#Leo's Documentation--Release notes--@file release_notes.txt--Previous versions...--4.10 Incremental

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-12 Thread dufriz
How is the work on the tags' UI coming along, Jake? -- 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 leo-editor+unsubscr...@googlegroups.com. To post to this group,

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-12 Thread Jacob Peck
On 8/12/2014 11:24 AM, dufriz wrote: How is the work on the tags' UI coming along, Jake? It's functionally complete -- give it a shot! (Should work in PyQt5 now, too, thanks to Terry) Be sure to read the plugin notes (plugin menu - nodetags) --Jake -- You received this message because

Re: Aha: vim trainer mode

2014-08-12 Thread Edward K. Ream
On Tue, Aug 12, 2014 at 10:03 AM, jkn jkn...@nicorp.f9.co.uk wrote: 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,

Re: Find-previous fails at last node

2014-08-12 Thread Edward K. Ream
On Tue, Aug 12, 2014 at 10:13 AM, lewis lewisn...@operamail.com wrote: Find-previous fails at last node when selected by mouse-click Hmm. It seems to work for me: - Search (F3) until search fails. - Select last node of the outline with the mouse, or alternatively, the last visible node. - F2:

Re: Threading thread

2014-08-12 Thread Edward K. Ream
On Tue, Aug 5, 2014 at 12:45 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Interesting and not that complex after all: Thanks for this. There are many ast-oriented classes in leoSTC.py which may or may not be of interest to you. As for the lisp music demo, I think there

Re: Autocompleting dictionaries keys

2014-08-12 Thread Fidel N
Done :) On Tue, Aug 12, 2014 at 4:39 PM, Edward K. Ream edream...@gmail.com wrote: On Mon, Aug 4, 2014 at 2:39 AM, Fidel N fidelpe...@gmail.com wrote: Hi: This is a feature request that I thought could be very nice. Interesting. Please file a wishlist bug. EKR -- You received this

Re: Find-previous fails at last node

2014-08-12 Thread lewis
I should have made it clearer the problem occurs only using mouse-click on *Find previous: F2*. So search for 'shell-command' and repeat until it reaches the last instance at LeoDocs.leo#Leo's Documentation--Release notes--@file release_notes.txt--Previous versions...--4.10 Incremental

Re: Vim emulation: ready for testing!

2014-08-12 Thread Steve Zatz
Not giving up yet. Completely clean Leo install from git. Only nodes in myLeoSettings are setting vim-mode to true and placing the @keys Vim bindings under @settings A bunch of normal mode vim bindings work. Typing a colon produces the following on the windows command line: ignore