Installing vim with ruby support (+ruby)

后端 未结 13 2106
萌比男神i
萌比男神i 2020-12-04 07:37

I\'m trying to get command-t installed for vim but my current version of vim doesn\'t have the (+ruby) flag. The command \"which ruby\" shows that ruby is installed.

13条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-04 07:44

    Some package provides vim-ruby on Ubuntu, for example vim-nox.

    simply:

    sudo apt-get install vim-nox;
    

    will get you vim with ruby, as well as compiled in "support for scripting with Perl, Python, Ruby, and TCL but no GUI."

    sudo apt-get install vim-rails
    

    will install a "selection of vimscripts that make editing Ruby on Rails applications extremely easy." but as it depends on vim-full and vim-addon-manager, it will also install the vim-gnome version of the GUI, that is "a version of vim compiled with a GNOME2 GUI and support for scripting with Perl, Python, Ruby, and TCL."

提交回复
热议问题