Friday, November 30, 2007

Fast Select All

Want to select an entire file in visual mode very quickly? Try ggVG in normal mode.

9 comments:

Christian said...

Thank you. Good tip.

Anonymous said...

it wont allow me to COPY and PASTE... what am I doing wrong? it just selects but no copy option..

Travis Whitton said...

@Felipe

"+y will copy to your OS clipboard assuming you're using Vim on your local machine.

Anonymous said...

Selecting a text also copies it to the clipboard already.

Chris said...

Good! I've tweeted this ;-)

d_01 said...

1GVG

syndy said...

doesn't work on mine

Stanislaw Pankevich said...

Thanks!

Anonymous said...

Damn it! I'm always forgetting this shortcut!

Thank you for reminding ;)