Ah yes - I'm still learning about motions, as well as visual mode. Now I just have to download this information into my fingers :) One other thing - is it possible to syntax color a ruby instance method in vim? I spent some time this morning tweaking my .vimrc to color things the same way the Vibrant Ink theme in Textmate does, but the Ruby syntax file in vim doesn't seem to attempt to try and pick out method names where there's an explicit receiver (eg. foo.method_name). Thanks, -John http://www.iunknown.com On 8/28/06, Bruno Michel <bruno / exceliance.fr> wrote: > Hi, > > gg=G works too, and it's shorter :) > > -- > Bruno Michel > > Kent Sibilev a ñÄrit : > > ggVG= > > > > On 8/28/06, John Lam <drjflam / gmail.com> wrote: > >> I'm in the process of converting to vim from emacs to help save my > >> hands. I'm using the excellent vim-ruby gem to syntax color my code. > >> > >> One thing that I haven't figured out how to do yet in vim is > >> reformatting source code. I do this in emacs via ESC-CTRL-Q . It's > >> really useful during refactoring when moving code fragments from one > >> place to another. > >> > >> > >> Thanks! > >> -John > >> http://www.iunknown.com > >> > >> > > > > > > >