Hacker News new | ask | show | jobs
by clownz0r 5334 days ago
vim does understand Ruby. As soon as I type end, it automatically de-indents the line 2 spaces. Put this in your ~/.vimrc:

    filetype plugin indent on
1 comments

also matchit.vim to do %-bouncing between keyword/end pairs