l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2004 Apr 19 19:24

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] serendipity with vim
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] serendipity with vim



on Fri, Apr 02, 2004 at 06:16:21AM -0800, Peter Jay Salzman (p@dirac.org) wrote:
> heh.  at 6:15 in the morning, it blew my mind.  it took a few seconds to
> register what was going on.
> 
> if anybody has any vim tips they'd like to share, i'd love to see a
> thread of people's favorite vim tricks.
> 
> here's another one i learned just recently:
> 
> 
> 1 one
> 2 two
> 3 three
> 4 four
> 5 five
> 6 six
> 7 seven
> 8 eight
> 9 nine
> 
> use line highlighting (shift v) and highlight lines 4, 5, and 6.
> type "zf".
> you've now "folded" lines 2, 3, 4, 5, and 6:
> 
> 1 one
> +--  5 lines: 2----------------------------------------------------
> 7 seven
> 8 eight
> 9 nine

You'll discover split screens RSN I suppose.


Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   The Amazon "one-click" patent boycott -- yes, it continues:
     http://www.fsf.org/philosophy/amazon.html#whyContinue

Attachment: signature.asc
Description: Digital signature



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.