Files
oam/knowledge base/less.md
2025-07-10 20:15:43 +02:00

36 lines
687 B
Markdown

# Less
## TL;DR
```plaintext
# Search words *forwards* in the current document.
:/keyword ↵
# Search words *backwards* in the current document.
:?keyword ↵
# Toggle case sensitivity in searches.
:-I ↵
```
```sh
# Start with case sensitivity *disabled* in searches
less -I
```
## Further readings
### Sources
- [Less searches are always case-insensitive]
- [How to Search in Less Command]
<!--
Reference
═╬═Time══
-->
<!-- Others -->
[less searches are always case-insensitive]: https://unix.stackexchange.com/questions/116395/less-searches-are-always-case-insensitive#577376
[How to Search in Less Command]: https://linuxhandbook.com/search-less-command/