off by one for 2007 March 4 (entry 0)

< Boston and Tom Waits
gnome-terminal >

[Trackback URL for this entry] Sun Mar 04 14:05:14 PST hot vim tip sandwich (au jus):

vim has a cool "delete-from-here-to" feature. In command mode, put your cursor where you want to start deleting. Then, type 'd/n', where n is a regex describing where you want to stop deleting. vim should show you where you are deleting to, either by highlighting, or by moving the cursor. When you're pleased with your regex, hit enter. Bam!

Filed under: technical:hack

Links from other weblogs:


[Main]

Unless otherwise noted, all content licensed by Peter A. H. Peterson
under a Creative Commons License.