|
1 | 1 | | Name | Description |
|
2 | 2 | | --- | --- |
|
3 | 3 | | `:quit`, `:q` | Close the current view. |
|
4 |
| -| `:quit!`, `:q!` | Close the current view forcefully (ignoring unsaved changes). | |
| 4 | +| `:quit!`, `:q!` | Force close the current view, ignoring unsaved changes. | |
5 | 5 | | `:open`, `:o` | Open a file from disk into the current view. |
|
6 | 6 | | `:buffer-close`, `:bc`, `:bclose` | Close the current buffer. |
|
7 |
| -| `:buffer-close!`, `:bc!`, `:bclose!` | Close the current buffer forcefully (ignoring unsaved changes). | |
| 7 | +| `:buffer-close!`, `:bc!`, `:bclose!` | Close the current buffer forcefully, ignoring unsaved changes. | |
8 | 8 | | `:buffer-close-others`, `:bco`, `:bcloseother` | Close all buffers but the currently focused one. |
|
9 |
| -| `:buffer-close-others!`, `:bco!`, `:bcloseother!` | Close all buffers but the currently focused one. | |
10 |
| -| `:buffer-close-all`, `:bca`, `:bcloseall` | Close all buffers, without quitting. | |
11 |
| -| `:buffer-close-all!`, `:bca!`, `:bcloseall!` | Close all buffers forcefully (ignoring unsaved changes), without quitting. | |
12 |
| -| `:buffer-next`, `:bn`, `:bnext` | Go to next buffer. | |
13 |
| -| `:buffer-previous`, `:bp`, `:bprev` | Go to previous buffer. | |
| 9 | +| `:buffer-close-others!`, `:bco!`, `:bcloseother!` | Force close all buffers but the currently focused one. | |
| 10 | +| `:buffer-close-all`, `:bca`, `:bcloseall` | Close all buffers without quitting. | |
| 11 | +| `:buffer-close-all!`, `:bca!`, `:bcloseall!` | Force close all buffers ignoring unsaved changes without quitting. | |
| 12 | +| `:buffer-next`, `:bn`, `:bnext` | Goto next buffer. | |
| 13 | +| `:buffer-previous`, `:bp`, `:bprev` | Goto previous buffer. | |
14 | 14 | | `:write`, `:w` | Write changes to disk. Accepts an optional path (:write some/path.txt) |
|
15 |
| -| `:write!`, `:w!` | Write changes to disk forcefully (creating necessary subdirectories). Accepts an optional path (:write some/path.txt) | |
| 15 | +| `:write!`, `:w!` | Force write changes to disk creating necessary subdirectories. Accepts an optional path (:write some/path.txt) | |
16 | 16 | | `:new`, `:n` | Create a new scratch buffer. |
|
17 | 17 | | `:format`, `:fmt` | Format the file using the LSP formatter. |
|
18 | 18 | | `:indent-style` | Set the indentation style for editing. ('t' for tabs or 1-8 for number of spaces.) |
|
|
25 | 25 | | `:write-quit-all`, `:wqa`, `:xa` | Write changes from all buffers to disk and close all views. |
|
26 | 26 | | `:write-quit-all!`, `:wqa!`, `:xa!` | Write changes from all buffers to disk and close all views forcefully (ignoring unsaved changes). |
|
27 | 27 | | `:quit-all`, `:qa` | Close all views. |
|
28 |
| -| `:quit-all!`, `:qa!` | Close all views forcefully (ignoring unsaved changes). | |
| 28 | +| `:quit-all!`, `:qa!` | Force close all views ignoring unsaved changes. | |
29 | 29 | | `:cquit`, `:cq` | Quit with exit code (default 1). Accepts an optional integer exit code (:cq 2). |
|
30 |
| -| `:cquit!`, `:cq!` | Quit with exit code (default 1) forcefully (ignoring unsaved changes). Accepts an optional integer exit code (:cq! 2). | |
| 30 | +| `:cquit!`, `:cq!` | Force quit with exit code (default 1) ignoring unsaved changes. Accepts an optional integer exit code (:cq! 2). | |
31 | 31 | | `:theme` | Change the editor theme. |
|
32 | 32 | | `:clipboard-yank` | Yank main selection into system clipboard. |
|
33 | 33 | | `:clipboard-yank-join` | Yank joined selections into system clipboard. A separator can be provided as first argument. Default value is newline. |
|
|
42 | 42 | | `:show-clipboard-provider` | Show clipboard provider name in status bar. |
|
43 | 43 | | `:change-current-directory`, `:cd` | Change the current working directory. |
|
44 | 44 | | `:show-directory`, `:pwd` | Show the current working directory. |
|
45 |
| -| `:encoding` | Set encoding based on `https://encoding.spec.whatwg.org` | |
| 45 | +| `:encoding` | Set encoding. Based on `https://encoding.spec.whatwg.org`. | |
46 | 46 | | `:reload` | Discard changes and reload from the source file. |
|
47 | 47 | | `:tree-sitter-scopes` | Display tree sitter scopes, primarily for theming and development. |
|
48 | 48 | | `:debug-start`, `:dbg` | Start a debug session from a given template with given parameters. |
|
|
53 | 53 | | `:hsplit`, `:hs`, `:sp` | Open the file in a horizontal split. |
|
54 | 54 | | `:hsplit-new`, `:hnew` | Open a scratch buffer in a horizontal split. |
|
55 | 55 | | `:tutor` | Open the tutorial. |
|
56 |
| -| `:goto`, `:g` | Go to line number. | |
| 56 | +| `:goto`, `:g` | Goto line number. | |
57 | 57 | | `:set-language`, `:lang` | Set the language of current buffer. |
|
58 | 58 | | `:set-option`, `:set` | Set a config option at runtime.<br>For example to disable smart case search, use `:set search.smart-case false`. |
|
59 | 59 | | `:get-option`, `:get` | Get the current value of a config option. |
|
60 | 60 | | `:sort` | Sort ranges in selection. |
|
61 | 61 | | `:rsort` | Sort ranges in selection in reverse order. |
|
62 | 62 | | `:reflow` | Hard-wrap the current selection of lines to a given width. |
|
63 | 63 | | `:tree-sitter-subtree`, `:ts-subtree` | Display tree sitter subtree under cursor, primarily for debugging queries. |
|
64 |
| -| `:config-reload` | Refreshes helix's config. | |
65 |
| -| `:config-open` | Open the helix config.toml file. | |
| 64 | +| `:config-reload` | Refresh user config. | |
| 65 | +| `:config-open` | Open the user config.toml file. | |
66 | 66 | | `:log-open` | Open the helix log file. |
|
67 | 67 | | `:insert-output` | Run shell command, inserting output after each selection. |
|
68 | 68 | | `:append-output` | Run shell command, appending output after each selection. |
|
|
0 commit comments