Vi: Search for lines containing string1 as well as string2 -


i know how search single expression. how combine two?

/string1 & string2 

you'd use .*string1\&.*string2

http://vim.wikia.com/wiki/search_patterns has many tips, @ least vim.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -