1
0
Fork 0
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:
Igor Támara 2024-11-06 13:56:21 -05:00 committed by GitHub
parent 467e011535
commit 856427a842
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`