selfjungle Just another WordPress weblog


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:


Also replace STRING1 to STRING2 in one line or in all lines.

Tagged as: Leave a comment
Comments (0) Trackbacks (1)

Leave a comment