uncat
V2EX  ›  问与答

请问在 mac 上使用 vim-multi-cursors 这个插件的正确姿势

  •  
  •   uncat · Jun 17, 2017 · 1714 views
    This topic created in 3341 days ago, the information mentioned may be changed or developed.

    MacOS ( 10.12.5 ) 上的 vim ( 7.4 )不支持系统剪切板,下载了 vim 8.0 的源码重新编译了一个。 想在 vim 上实现 sublime 的多区块同时编辑的功能,所以用 vundle 安装了vim-multi-cursors. 问题:当我按照 github readme 中的说明按 CTRL-n 时,vim 的光标调到了下一行( 跟按下 j 的效果类似 )而不是选中 cursor 下的单词。请问有人遇到类似问题的吗?( 我想知道我是不是个例,google 上没找到类似的问题的答案。)或者,是否有人在 MacOS 平台上成功使用了这个插件的?谢谢! 下面是我编译 vim 时的 options

    ./configure --with-features=huge --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-perlinterp --with-python-config-dir=/usr/lib/python2.7/config/ --enable-cscope --prefix=/usr/local

    2 replies    2017-06-17 22:22:50 +08:00
    uncat
        1
    uncat  
    OP
       Jun 17, 2017
    自问自答了。[Link to github issues]( https://github.com/yangyangwithgnu/use_vim_as_ide/issues/70)
    tracyone
        2
    tracyone  
       Jun 17, 2017
    @uncat 我什么都没配置,就直接能用,没有出现你所描述的现象。平台一样。应该是你的配置覆盖了它的。

    ps:为什么不用 homebrew 来安装 vim 呢?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3154 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 13:34 · PVG 21:34 · LAX 06:34 · JFK 09:34
    ♥ Do have faith in what you're doing.