helix: add example to open multiple files and tutorial (#14675)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
@@ -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`
|
|
||||||
|
Reference in New Issue
Block a user