> You should be using open_with.py, not vim.py plugin. The Vim program interface requires the following plugins for the following reasons:
open_with.py: Provides the generic support for exporting a node to an external editor and updating the node when the external editor saves the file. vim.py: Provides the VIM specific support. Primarily, it issues the OS command to launch VIM. The command is issued in multiple forms depending on whether "vim_plugin_position_cursor" and/or "vim_plugin_uses_tab_feature" globals have been set "True". See the forum post I referenced in my initial response for more specifics on this configuration and others associated with the export to VIM functionality. mod_tempfname.py: Replaces the standard algorithm for specifying the directory path that will hold the temporary file that holds the node's text being passed to the VIM program. Specifically, for the export to VIM, setting Leo's global variable "open_with_clean_filenames" to "True" causes the mod_tempfname.py plugin to create a directory path containing the names of the ancestor nodes in the Leo tree. This enables you to determine the source Leo node by hovering the cursor of VIM's tab card label. See the forum post I referenced in my initial response for more specifics on this configuration and others associated with the export to VIM functionality. Note: I believe the mod_tempfname.py plugin must appear after the open_with.py plugin in the list of plugins in the "@enabled-plugins" node in the myLeoSettings.leo file. Regards, TL --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
