Search code examples
windowsvimsource-insight

How to use vim editor in windows source insight


I am using windows source insight. In this only the basic text editor is available. Is there any vim plugin available to use it in windwos source insight?


Solution

  • According to the docs (search for ShellExecute), you should be able to invoke a ShellExecute with an arbitrary program. If VIM is associated with a certain file as editor, this should work:

    ShellExecute edit <yourfile>
    

    If VIM is for some strange reason not the default editor for a certain file, you should try

    ShellExecute "" C:/Path/to/vim.exe <yourfile>
    

    Thay way, you should be able to call any external tool from Source Insight.