Files
cheatsheet-tldr/tldr/lesskey
2026-02-25 00:29:31 +00:00

23 lines
496 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# lesskey
> Customize keybindings for `less`.
> Note: This command has been deprecated.
> More information: <https://manned.org/lesskey>.
- Compile key bindings from a source file:
`lesskey {{path/to/lesskey_file}}`
- Compile key bindings and write to a specific output file:
`lesskey {{[-o|--output]}} {{path/to/output}} {{path/to/lesskey_file}}`
- Display version:
`lesskey {{[-V|--version]}}`