How to use vim editor in windows source insight

3.7k Views Asked by At

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?

2

There are 2 best solutions below

0
On BEST ANSWER

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.

0
On

add customer command in source insight and bind a new short key.

"C:\Program Files (x86)\Vim\vim81\gvim.exe"  --remote-silent +%l %f