On Wed, Dec 8, 2010 at 7:09 AM, Matt Wilkie <[email protected]> wrote:
> I'd like to set a keyboard shortcut for the right-click context menu > item "Edit @file foobar.py in gvim". Searching through LeoSettings.leo > I see the setting for opening the current node in external editor is > "cm-external-editor = Alt-v", but I need to see the whole external > file, complete with sentinels, not just the current node. Is this > possible? I believe it would be reasonable to add a check to cm-external-editor command implementation in contextmenu.py, and open the whole file in the editor if we are at @<file> node. Look at how checking for availability of context menu entry is done in the plugin, and do the check in the implementation for the cm-external-editor command. I don't think it would make sense to create a new key binding to this special case (only so many keys in the keyboard...) -- Ville M. Vainio @@ Forum Nokia -- 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.
