Tech Journal Back to Tech Journal

Cheat sheet for VIM after installing rails.vim syntax file

ctrl-w,f - open file under cursor in new window
-or-
gf - to open in same window
[use :bp or :b#  or ctrl-^ to go back]

]f - open RELATED file
(if you're in a controller method, "some_method", will open view for that method, and vice versa)

Last updated on 2007-08-25 12:02:53 -0700, by Shalom Craimer

Back to Tech Journal