If you need to delete massive amounts of text in Vi try these next time:
<d><G> deletes everything below the cursor
<d><1><G> deletes everything above the cursor.
<d>/foo deletes everything till the next occurence of foo
And finally:
<m><a> and <d><`><a> deletes everything from your cursor to where you placed the a mark.
Some of these things really come in useful, every once in a while.
This entry was posted
on Thursday, January 4th, 2007 at 1:15 pm and is filed under technology, linux, tips.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Related Posts:
Dollar Bill RulerLinux: Quick and Dirty Way to Take ScreenshotsEnabling Polish Letters (Ogonki) in VimZune Sales: In the ToiletJade Empire: Final ThoughtsLuke, I am your father!Time Logging ScriptFirefox Freezing up When Downloading FilesGet OpenSolaris CD’s Shipped to you for FreePerfMonG - Minimalistic Performance Monitor for Windows
March 11th, 2007 at 5:28 pm (3309) [Quote]
thank you
Posted using