Friday, August 16, 2013

Re: Yank all lines in a file

gg
v
shift-g
 
Gerald Klein DBA
ContactMe@geraldklein.com
www.geraldklein.com
geraldklein.wordpress.com
jk@zognet.com
708-599-0352

Arch/Gentoo Awesome, Ranger & Vim the coding triple threat.
Linux registered user #548580
 
From: Benjamin Klein
Sent: Friday, August 16, 2013 5:45 PM
To: vim_use@googlegroups.com
 
I have a silly question: What is the fastest way to yank all lines (V) in an opened file? I normally do:

1
G
V
G
yy

Is that the simplest way to do this?

--
b

No comments: