Added less' notes to the knowledge base

This commit is contained in:
Michele Cereda
2022-05-12 23:43:10 +02:00
parent 454602ca3d
commit 0011b54f27

18
knowledge base/less.md Normal file
View File

@@ -0,0 +1,18 @@
# Less
## TL;DR
```shell
# Search words *forwards* in the current document.
:/keyword <ENTER>
# Search words *backwards* in the current document.
:?keyword <ENTER>
# Toggle case insensitivity in searches.
:-i <ENTER>
```
## Sources
[case insensitive search]: https://unix.stackexchange.com/questions/116395/less-searches-are-always-case-insensitive#577376