Skip to content

Visual Studio 与 gvim 集成( 非插件)

  1. 安装 visual_studio.vim 插件到 gvim 中
  2. VS 点击菜单 > External Tools > Add
    • Title: g&Vim
    • Command: X:\path\to\gvim.exe
    • Arguments: –servername gVimStudio –remote-silent +”call cursor($(CurLine),$(CurCol))” $(ItemPath)
    • Initial directory: $(SolutionDir)

最后启动 VS ,打开工程,再点 Tools > gVim 菜单。

心情享用吧~!

PS:我会把 gVim 和 VS 的自动加载文件功能打开,这样两边就可以同步最新代码了。

visual_studio.vim 功能很多,详细去看看文档吧。

Be First to Comment

发表评论

电子邮件地址不会被公开。 必填项已用*标注

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax