mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:02:08 +02:00
helix: add example to open multiple files and tutorial (#14675)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
467e011535
commit
856427a842
1 changed files with 8 additions and 4 deletions
|
@ -8,6 +8,14 @@
|
||||||
|
|
||||||
`helix {{path/to/file}}`
|
`helix {{path/to/file}}`
|
||||||
|
|
||||||
|
- Open files and show them one next each other:
|
||||||
|
|
||||||
|
`helix --vsplit {{path/to/file1 path/to/file2}}`
|
||||||
|
|
||||||
|
- Show the tutorial to learn Helix (or access it within Helix by pressing `<Esc>` and typing `:tutor`):
|
||||||
|
|
||||||
|
`helix --tutor`
|
||||||
|
|
||||||
- Change the Helix theme:
|
- Change the Helix theme:
|
||||||
|
|
||||||
`:theme {{theme_name}}`
|
`:theme {{theme_name}}`
|
||||||
|
@ -27,7 +35,3 @@
|
||||||
- Search for a pattern in the file (press `n`/`N` to go to next/previous match):
|
- Search for a pattern in the file (press `n`/`N` to go to next/previous match):
|
||||||
|
|
||||||
`/{{search_pattern}}<Enter>`
|
`/{{search_pattern}}<Enter>`
|
||||||
|
|
||||||
- Format the file:
|
|
||||||
|
|
||||||
`:format`
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue