[aklug] Re: Vim tips for C/C++ programmer

From: barsalou <barjunk@attglobal.net>
Date: Tue Jun 09 2009 - 17:49:15 AKDT

Quoting Christopher Howard <choward@indicium.us>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I've always used Emacs, but I'm trying to give Vim a fair try. I just
> took a small class from a guy who showed us how use the basic commands,
> but he doesn't seem to know much about the programming side of things.
>
> Any tips for a guy who does a lot of C/C++ programming? I installed
> vim-nox (I hate graphical editors...) on my Debian laptop. Here's what
> I've figured out so far:
>
> - - I got syntax coloring with the ':syntax enable' command.
> - - I got automatic indenting with the ':set cindent' command, though this
> seems to work differently than it does in Emacs. In Emacs I could press
> 'tab', and it would rearrange a line whose indenting was off.
> - - I got line numbering with the ':set nu' command.
>
> That's about it so far. Any further tips would be appreciated. Also,
> somebody once told me Vim has some kind bracket-folding system, though
> perhaps I misunderstood him.

Try vimtutor...it might help a bit.

Mike B.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Jun 9 17:49:25 2009

This archive was generated by hypermail 2.1.8 : Tue Jun 09 2009 - 17:49:25 AKDT