From: Jeff Schwab Date: 2009-05-22T13:27:46+09:00 Subject: Re: vim and '%': no brackets, how to navigate instead? Markus Fischer wrote: > Hi, > > coming from languages which extensively use brackets I'm very accustomed > in using % to jump between start/end. How this is getting a bit tricky, > if not to say "no possible" because of the lack of all the brackets > (which I find refreshing, btw). > > But I guess it's not that easy, % would need to be able to jump between > "class" and "end", "if" and "end", "while" and "end", etc. > > Is there an easy way to change this behavior or is there some kind of > ready-made plugin available? Yes: http://vim-ruby.rubyforge.org/ I also highly recommend: http://www.vim.org/scripts/script.php?script_id=1567 http://www.vim.org/scripts/script.php?script_id=39