Vim - Delete up to char or word

Posted on: Jan 25, 2009 - 04:24 PM

Say you have the text:

<VirtualHost *:80>
	ServerName hunny.localhost
	DocumentRoot "\wwwroot\front\webroot"
</VirtualHost>

You need to update the DocumentRoot - move the cursor to one char after the first ” then hit d/”

Translated this means delete until you hit the word ” - Not sure if this the best way - but it seems to work.