From 856427a842ae9fe805e2dda3d7fc87587e8c6239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20T=C3=A1mara?= Date: Wed, 6 Nov 2024 13:56:21 -0500 Subject: [PATCH] helix: add example to open multiple files and tutorial (#14675) Co-authored-by: Wiktor Perskawiec --- pages/common/helix.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pages/common/helix.md b/pages/common/helix.md index 1f073c732..7fcf93049 100644 --- a/pages/common/helix.md +++ b/pages/common/helix.md @@ -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 `` 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}}` - -- Format the file: - -`:format`