鼠标右键,在GVIM的新tab中打开文件

1. Click Start, Run then type SendTo and press Enter. If the Profile path for your user name has been changed, you may need to run %USERPROFILE%/SendTo rather than just SendTo .

Win7用: %APPDATA%/Microsoft/Windows/SendTo

 

2. The SendTo directory should now be open. It contains the shortcuts in your Send To context menu. Right-click the SendTo window and add a new shortcut to gvim.

 

3. Edit the 'Target' box in the Properties of the gvim shortcut to read (you may need to change this for your path to gvim):

"C:/Program Files/Vim/vim71/gvim.exe" --remote-tab-silent



另外:

可以写一个叫BAT文件

"C:/Program Files/vim/vim73/gvim.exe" --remote-tab-silent %1



在VC中,右键一个文件, open with..., Add.

你可能感兴趣的:(鼠标右键,在GVIM的新tab中打开文件)