I've just noticed that when I put "open_with.py" (regardless of the
presence of vim.py) that the "script button" button, and all other
buttons defined in an outline, are no long present on the line that
contains the (single valued) chapter selection.

    - Stephen

On Jul 2, 8:57 pm, thyrsus <[email protected]> wrote:
> I had set vim_exe and vim_cmd in a file a long time ago and then
> didn't pursue the feature.  Today I was confused by having in
> $HOME/.leo/myLeoSettings.leo
>
> @string vim_exe = /usr/bin/gvim
> @string vim_cmd = /usr/bin/gvim --server LEO
> @enabled_plugins
> open_with.py
> vim.py
>
> ...following the example in leoSettings.leo.  However, the Help menu
> "Print settings" showed:
>
> [F] vimcmd = /usr/bin/vim
> [F] vimexe = /usr/bin/vim
>
> Now that I understand it, I see that print settings was trying to help
> me by noting that those settings had been specified in the immediate
> file [F] whereas other settings were modified in $HOME/.leo/
> myLeoSettings.leo [M]
>
> Please change "Print settings" so that it displays the underscores in
> the setting names - or, if underscores in setting names are ignored,
> please mention that prominently in the User Guide chapter "Customizing
> Leo", and also perhaps in leoSettings.leo, where the only mention of
> name transformation appears to be in "About this file-->Note about
> canonicalized names":
>
> When looking at @x, Leo converts to lower case and removes minus
> signs.
> Therefore, @if-platform and @ifPlatformare equivalent to @ifplatform.
>
> (yup, there's a space could be added).
>
>     - Stephen
>
> On Jul 2, 2:23 pm, "Ville M. Vainio" <[email protected]> wrote:
>
> > On Thu, Jul 2, 2009 at 8:34 PM, Ville M. Vainio<[email protected]> wrote:
> > > It works by enabling vim.py and double-clicking on the icon. The
> > > biggest difference to current "Edit in gvim" from rclick menu is that
> > > it reuses the same gvim process/window.
>
> > As a slight bonus, I added vim-open command for this, to enable
> > binding to a key. Double clicking is annoying in Qt (it activates &
> > higlights the headline text as well)
>
> > --
> > Ville M. Vainiohttp://tinyurl.com/vainio
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to