How do you do a case insensitive search using a pattern modifier using less?

mk. picture mk. · Aug 19, 2008 · Viewed 83.1k times · Source

It seems like the only way to do this is to pass the -i parameter in when you initially run less. Does anyone know of some secret hack to make something like this work

/something to search for/i

Answer

Juha Syrjälä picture Juha Syrjälä · Aug 19, 2008

You can also type command -I while less is running. It toggles case sensitivity for searches.