mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
36 lines
687 B
Markdown
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/
|