Git Product home page Git Product logo

ruby-vimrc's Introduction

Ruby vimrc

A quick vimrc for Ruby on Rails programming

理念

  1. Simple
  2. Only for Ruby on Rails
  3. Powerful

安装方法

前提: 不像其它的插件需要特定的 vim, 只需要安装好 vim, 例如 mac 下使用 brew install vim

继续输入以下指令:

# 安装 Bundle( vim 插件管理器 )
$ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
$ git clone https://github.com/windy/ruby-vimrc.git

$ cp ruby-vimrc/vimrc ~/.vimrc

$ vim
  # 输入以下指令
  :BundleInstall( in vim input this command)
  # 重启 vim, OK
  :q!

如何使用

  1. 使用 vim-rails 来高效开发 Rails
  2. 使用 NERDTree 来管理文件树
  3. 几款简洁的高亮与注释插件
  4. 使用 ctrlp 来搜索文件
  5. 阅读 vimrc 来快速了解

文档更新

用法指南文档: http://ruby-china.org/topics/19315

更新记录

  1. 去掉一些重量性的插件
  2. 整理了注释
  3. 精简了插件, 优化 vim-rails 的补全

谢谢以下插件的作者们提供这么好的插件

  • Vundle
  • tpope/vim-rails (power tools for ruby on rails)
  • tpope/vim-fugitive (power git)
  • Lokaltog/vim-easymotion (quickly move your cursor)
  • rstacruz/sparkup (HTML write)
  • kien/ctrlp.vim (quickly search your code)

ruby-vimrc's People

Contributors

windy avatar

Watchers

James Cloos avatar chengenbao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.