13Feb/110
vim delete lines with regexp, replace string
uzbl is an awesame ultralightweight browser, however gmail has cookie issues. The only way I found to have a working uzbl+gmail is to remove every line from .local/share/uzbl/cookies.txt
which contain Google/google when the cookie problem happens.
With vim it's possible to look for STRING case insensitively and delete lines:
:g/\cSTRING/d
Also replace STRING1 to STRING2 in one line or in all lines.
:s/STRING1/STRING2/g :%s/STRING1/STRING2/g
Leave a comment