# 1. Highlight select all lines before yanking
:0, SHIFT + v, G, y
# 2. State range to yank: G - the last line
:0,Gy
# 3. State range to yank: $ - end of text
:0,$y
Showing posts with label yank. Show all posts
Showing posts with label yank. Show all posts
Friday, October 2, 2009
Yank all lines in Vim
3 methods.
Subscribe to:
Posts (Atom)