VimMate安装教程(Linux下的TextMate)

到目前为止,利用业余时间在Linux下搭建了一个ROR的开发平台:
SuseLinux+ROR+mysql+WEBrick +IDE(VimMate)
也搭建了将来的运行环境:
SuseLInux+ROR+Mysql+Lighttpd-fcgi

VimMate号称是Linux下的TextMate,下面是安装步骤:
  • Make sure Vim is installed and compiled with the graphical interface. Try running gvim to see if it works. Only Vim version 7.0 has been tested.你必须安装gvim,运行gvim看看会不会弹出VI的GUI。
  • Make sure Ruby version 1.8 or more is installed. Try running ruby ―version in a terminal.当然你得把Ruby先安装了,要不不能执行setup.rb
  • Install the Ruby bindings to GTK and GNOME (for the VTE terminal). See Ruby-GNOME2 website. Only Ruby-GNOME2 version 0.15 has been tested. You don‘t need VTE: if it‘s not installed, VimMate will not have terminals but will run anyway.自己看吧,需要去下载两个包ruby-gnome2-all-0.16.0和ruby-gtk2-0.16.0
  • If you want to use the Subversion integration feature, you must install the subversion bindings for Ruby. Check if it‘s available for your OS or get the sources from Subversion's website and compile them.去Subversion下个版本控制工具。把依赖包也下载,解压后复制到subversion目录中,否则会报错。装好是没有DB的版本(如果你的系统没有DB的话),下个DB安装以后就好了,重新装一遍Subversio。最终的安装路径是/usr/local/include
  • Download the latest VimMate on VimMate's homepage.去下载VimMate,然后安装。
  • You now have 3 choices to install VimMate: manually, with Ruby Gems or with setup.rb:
    • With Ruby Gems
      • Simply run gem install VimMate .
    • With setup.rb
      • Simply run ruby setup.rb . Run ruby setup.rb ―help for more information.
    • Manually
      • Copy the file bin/vimmate and the directory lib/vimmatelib to a directory somewhere in your path.
      • Make sure vimmate is executable: chmod u+x vimmate
      选择安装方式,我用setup.rb
  • cd to a directory where your project is. (Watch out for directories with too many files. See Limitations below.)
  • Run vimmate在文本模式下输入vimmate就会启动VimMate
Run vimmate ―help for more information.
输入vimate  -help用-help来看更多的信息。

然后你可以到 [url]http://www.vim.org/[/url] 选择你要安装语言的开发插件。

你可能感兴趣的:(linux,ror,SuseLinux)