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
So there is and it works great. Problem solved. Thanks!
Russ
On 27-Jul-11 16:25, David Lam wrote:
On Wed, Jul 27, 2011 at 2:41 PM, Russell Bateman
mailto:r...@windofkeltia.com>> wrote:
A long-time vi, then Vim user, I was also a long-time C/assembly guy.
For the last several
I would like to know how how to adjust the width (set columns) in gvim
based on filetype that, I assume, Vim knows by reason of the file I've
launched it on. For example, if it's a Java file (.java), I'd like to
make it 120 columns wide, but leave it maybe 80 for all others. I
realize that I might
Thank you very much, Simon! It seems to work perfectly.
On Fri, Aug 26, 2011 at 3:27 PM, Simon Nicolussi
wrote:
> Russell Bateman wrote:
>> For example, if it's a Java file (.java), I'd like to make it 120
>> columns wide, but leave it maybe 80 for all others.
>
Everyone learns differently, but the O'Reilly book is just about the
only one there is and it's not bad. I learned vi 30 years ago rubbing
shoulders with UNIX guys for that's what came with UNIX and worked
nearly identically no matter which flavor (System V or BSD).
It's a lot to bite off and
Once I've typed in a command to search and replace for something, for
example:
%s/search/replace/g
how can I re-execute that command without retyping it? (I have a string
of source files between which I'm moving via :n each time and I don't
want to have to retype the command; dot won't w