mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 05:52:57 +00:00
23 lines
496 B
Plaintext
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]}}`
|