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
Technical tid-bits and more ! Leave a comment if you found something useful.
No comments:
Post a Comment