On Thu, Sep 27, 2012 at 12:12 PM, Kent Tenney <[email protected]> wrote:
> On Thu, Sep 27, 2012 at 11:57 AM, Joon Ro <[email protected]> wrote:
>> Thanks for the reply. alt-x vim-open-node DOES work, but other things do
>> not. vim,py is turned on in @enabled-plugins. Leo goes to heading editing
>> mode when I double click on the node icons.
> I can't help other than confirm I have the same problem.
The "fix" is on the trunk at rev 5477. It is only a change to the
docstring for vim.py. This is the documentation you see when choosing
Plugins::Vim.
I've rewritten the docstring to emphasize that the vim-open-node
command is the one and only way to open a node with the vim plugin.
Imo, this is perfectly reasonable: overloading double-clicks is a
very poor interface design.
Here is the docstring::
QQQQQ
''' Enables two-way communication with VIM.
This plugin provides the ``vim-open-node`` command, which opens the
selected node in vim. This *supersedes* the old way of opening nodes
by double-clicking the icon box. Leo will update the node in the
outline when you save the file in vim.
Commands
--------
The **vim-open-node** command opens the selected node in vim. Leo will
update the node in the outline when you save the file in vim.
Installation
------------
Enable this plugin as usual and set the ``vim_cmd`` and ``vim_exe``
settings as shown below. Alternatively, you can ensure that gvim.exe
is on your PATH. gvim is recommended, not the basic console vim.
Settings
--------
**@string vim_cmd** (Important!): The command to execute to start gvim.
Something like::
<path-to-gvim>/gvim --servername LEO
**@string vim_exe** (Important!): The path to the gvim executable.
**vim_plugin_positions_cursor**: Leo will put Vim cursor at same
location as Leo cursor in file.
**vim_plugin_uses_tab_feature**: Leo will put node in a Vim tab card.
'''
QQQQQ
Edward
--
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.