helix: add example to open multiple files and tutorial (#14675)

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
Igor Támara
2024-11-06 13:56:21 -05:00
committed by GitHub
parent 467e011535
commit 856427a842

View File

@@ -8,6 +8,14 @@
`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:
`:theme {{theme_name}}`
@@ -27,7 +35,3 @@
- Search for a pattern in the file (press `n`/`N` to go to next/previous match):
`/{{search_pattern}}<Enter>`
- Format the file:
`:format`