vi (aka vim) tutorial, tips, tricks and useful commands
Where grep came from (RE being Regular Expression):
:g/RE/p
Delete lines 10 to 20 inclusive:
:10,20d
or with marks a and b:
:'a,'bd
Delete lines that contain pattern:
:g/pattern/d
Showing posts with label vim editor. Show all posts
Showing posts with label vim editor. Show all posts
Monday, February 22, 2010
Subscribe to:
Posts (Atom)