mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 19:01:35 +03:00
36 lines
451 B
Markdown
36 lines
451 B
Markdown
|
# most
|
||
|
|
||
|
> Open one or several files for interactive reading, allowing scrolling and search.
|
||
|
|
||
|
- Open a file:
|
||
|
|
||
|
`most {{path/to/file}}`
|
||
|
|
||
|
- Open several files:
|
||
|
|
||
|
`most {{path/to/file1}} {{path/to/file2}}`
|
||
|
|
||
|
- Open a file at the first occurrence of "string":
|
||
|
|
||
|
`most {{file}} +/{{string}}`
|
||
|
|
||
|
- Move through opened files:
|
||
|
|
||
|
`:O n`
|
||
|
|
||
|
- Jump to the 100th line:
|
||
|
|
||
|
`{{100}}j`
|
||
|
|
||
|
- Edit current file:
|
||
|
|
||
|
`e`
|
||
|
|
||
|
- Split the current window in half:
|
||
|
|
||
|
`<CTRL-x> o`
|
||
|
|
||
|
- Exit:
|
||
|
|
||
|
`Q`
|