<p>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</p>

<pre><code>/something to search for/i
</code></pre>

[{'answer_id': 16837, 'author': 'Juha Syrjälä', 'author_id': 1431, 'author_profile': 'https://Stackoverflow.com/users/1431', 'pm_score': 10, 'selected': True, 'text': '<p>You can also type command <code>-I</code> while less is running. It toggles case sensitivity for searches.</p>\n'}, {'answer_id': 26069, 'author': 'sanmiguel', 'author_id': 24, 'author_profile': 'https://Stackoverflow.com/users/24', 'pm_score': 7, 'selected': False, 'text': "<p>You can also set the environment variable <code>LESS</code></p>\n\n<p>I use <code>LESS=-Ri</code>, so that I can pump colorized output from <code>grep</code> into it, and maintain the ANSI colour sequences.</p>\n\n<p>Another little used feature of less that I found is starting it with <code>+F</code> as an argument (or hitting <kbd>SHIFT</kbd>+<kbd>F</kbd> while in less). This causes it to follow the file you've opened, in the same way that <code>tail -f &lt;file&gt;</code> will. Very handy if you're watching log files from an application, and are likely to want to page back up (if it's generating 100's of lines of logging every second, for instance).</p>\n"}, {'answer_id': 13205810, 'author': 'Antony Thomas', 'author_id': 984378, 'author_profile': 'https://Stackoverflow.com/users/984378', 'pm_score': 5, 'selected': False, 'text': "<p>Add-on to what @Juha said: Actually <code>-i</code> turns on Case-insensitive with SmartCasing, i.e if your search contains an uppercase letter, then the search will be case-sensitive, otherwise, it will be case-insensitive. Think of it as <code>:set smartcase</code> in Vim. </p>\n\n<p>E.g.: with <code>-i</code>, a search for 'log' in 'Log,..' will match, whereas 'Log' in 'log,..' will not match.</p>\n"}, {'answer_id': 15578637, 'author': 'joe', 'author_id': 2034380, 'author_profile': 'https://Stackoverflow.com/users/2034380', 'pm_score': 4, 'selected': False, 'text': '<p>When using -i flag, be sure to enter the search string completely in lower case, because if any letter is upper case, then its an exact match.</p>\n\n<p>See also:  the -I (capital i) flag of less(1) to change this behavior.</p>\n'}, {'answer_id': 21956109, 'author': 'slm', 'author_id': 33204, 'author_profile': 'https://Stackoverflow.com/users/33204', 'pm_score': 4, 'selected': False, 'text': '<p>It appears that you can summon this feature on a per search basis like so:</p>\n\n<pre><code>less prompt&gt; /search string/-i\n</code></pre>\n\n<p>This option is in <code>less</code>\'s interactive help which you access via <code>h</code>:</p>\n\n<pre><code>less prompt&gt; h\n...\n  -i  ........  --ignore-case\n                  Ignore case in searches that do not contain uppercase.\n  -I  ........  --IGNORE-CASE\n                  Ignore case in all searches.\n...\n</code></pre>\n\n<p>I\'ve not extensively checked but the help in <code>less</code> version 487 on MacOS as well as other Linux distros lists this option as being available.</p>\n\n<p>On MacOS you can also install a newer version of <code>less</code> via <code>brew</code>:</p>\n\n<pre><code>$ brew install less\n$ less --version\nless 530 (POSIX regular expressions)\nCopyright (C) 1984-2017  Mark Nudelman\n</code></pre>\n\n<h3>References</h3>\n\n<ul>\n<li><a href="https://unix.stackexchange.com/questions/116395/less-is-always-case-insensitive/116401#116401">less is always case-insensitive</a></li>\n</ul>\n'}]
['https://Stackoverflow.com/questions/16828', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1797/']