Wednesday, July 27, 2011

Moving between Java methods

A long-time vi, then Vim user, I was also a long-time C/assembly guy.

For the last several years, I've been using Eclipse and Vim to edit
Java files. However belatedly I make this request, I would finally
want to know how to modify .vimrc to allow me to move between Java
methods just as I used to between C functions, i.e.: ]] or [[.

The reason this doesn't work "as is" of course is because Java code
does not traditionally tolerate methods justified to column 1 as we
ordinarily do in C.

Could someone send me the Vim "macro" for this?

Thanks,

Russ Bateman

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment