Home > Programming, Ruby > Ruby, Vim, and Windows

Ruby, Vim, and Windows

It is unbelievably easy to create a wicked setup, although I spent half a day googling to narrow it down to the exsentials:

Downloads

  1. Ruby with the One-click installer.
  2. Vim’s self-installing Windows executable (this comes with many customizations you read about online, and ruby support, included)
  3. snipMate, a plug-in that automatically expands common Ruby constructs (e.g. you type ‘cla<tab>,’ which becomes class…end with placeholders!)
  4. AutoComplPop (must have!!!), an autocomplete plugin very much like Xcode’s – start typing and a popup list of completion options appears.  superTab, another plug-in that allows you to use tab to auto-complete Ruby code
  5. wombat, a great color scheme

Global configurations

Add the following settings to /path/to/vim/_vimrc.

note: the autocomplete menu colors, and vim’s default font are disgusting, hence the changes.

Ruby-specific Configurations

In the vimrc above, the following is added:

  • the first line sets up superTabs to look in the right place for Ruby completions (I use AutoComplPop now, see above)
  • adds line numbers to several source code file types
  • changes the ridiculous 8-space tabs to 2

That’s it!  Happy coding :)

Categories: Programming, Ruby Tags: , ,

windows 7 product key

windows 7 product key

windows 7 key generator

windows 7 key generator

free winrar download

free winrar download

winzip activation code

winzip activation code

free winrar

free winrar

winzip free download

winzip free download

winrar free download

winrar free download

winrar download free

winrar download free

winzip free download full version

winzip free download full version

windows 7 activation crack

windows7 activation crack

windows 7 crack

windows 7 crack

free winzip

free winzip
\n