Wednesday, April 8, 2009

Vim - Reduce Backslashing



Appending a "\v" reduces the amount of backslashing the search expressions.

/codes\(\n\|\s\)*where : normal regexp
/\vcodes(\n|\s)*where : very magic


source :
http://vim.wikia.com/wiki/Best_Vim_Tips

No comments: