Less
I’ve been using macOS, linux, *nix based terminals for about a decade and while I’ve taken the time to fully invest in and embrace vim
and now neovim
, I’ve been many a time confronted with reading a manpage or two and stuck in less
.
Thank god, less
lets a user use their arrow keys and is more forgiving. But as such, I have never been forced to learn how to actually use the damn thing.
In this post I’ll document the relevant pieces of using less
in case anyone else is like me and could use a brief explanation of the key points.
Less Cheatsheet
To move down a page: <SPACE> or page down
To move down a line: down arrow
To move up a page: page up
To move up a line: up arrow
To search: /
, just like vim :)
To find next and previous occurences: n
and p
respectively.
Was that so hard?
No idea why I avoided it for so long. Pushing through that more and more these days.