From 99f4a7f106463e80015e6a89a47568f7fa6a68d6 Mon Sep 17 00:00:00 2001 From: Alwin Lohrie <46248939+niwla23@users.noreply.github.com> Date: Thu, 7 Oct 2021 09:41:05 +0200 Subject: [PATCH] helix: add page (#6653) --- pages/common/helix.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pages/common/helix.md diff --git a/pages/common/helix.md b/pages/common/helix.md new file mode 100644 index 000000000..ca9fc2c65 --- /dev/null +++ b/pages/common/helix.md @@ -0,0 +1,33 @@ +# vim + +> Helix, A post-modern text editor, provides several modes for different kinds of text manipulation. +> Pressing `i` enters insert mode. `` enters normal mode, which enables the use of Helix commands. +> More information: . + +- Open a file: + +`helix {{path/to/file}}` + +- Change the Helix theme: + +`:theme {{theme_name}}` + +- Save and Quit: + +`:wq` + +- Force-quit without saving: + +`:q!` + +- Undo the last operation: + +`u` + +- Search for a pattern in the file (press `n`/`N` to go to next/previous match): + +`/{{search_pattern}}` + +- Format the file: + +`:format`