@@ -0,0 +1,43 @@
3+| `:quit`, `:q` | Close the current view. |
4+| `:quit!`, `:q!` | Close the current view forcefully (ignoring unsaved changes). |
5+| `:open`, `:o` | Open a file from disk into the current view. |
6+| `:buffer-close`, `:bc`, `:bclose` | Close the current buffer. |
7+| `:buffer-close!`, `:bc!`, `:bclose!` | Close the current buffer forcefully (ignoring unsaved changes). |
8+| `:write`, `:w` | Write changes to disk. Accepts an optional path (:write some/path.txt) |
9+| `:new`, `:n` | Create a new scratch buffer. |
10+| `:format`, `:fmt` | Format the file using the LSP formatter. |
11+| `:indent-style` | Set the indentation style for editing. ('t' for tabs or 1-8 for number of spaces.) |
12+| `:line-ending` | Set the document's default line ending. Options: crlf, lf, cr, ff, nel. |
13+| `:earlier`, `:ear` | Jump back to an earlier point in edit history. Accepts a number of steps or a time span. |
14+| `:later`, `:lat` | Jump to a later point in edit history. Accepts a number of steps or a time span. |
15+| `:write-quit`, `:wq`, `:x` | Write changes to disk and close the current view. Accepts an optional path (:wq some/path.txt) |
16+| `:write-quit!`, `:wq!`, `:x!` | Write changes to disk and close the current view forcefully. Accepts an optional path (:wq! some/path.txt) |
17+| `:write-all`, `:wa` | Write changes from all views to disk. |
18+| `:write-quit-all`, `:wqa`, `:xa` | Write changes from all views to disk and close all views. |
19+| `:write-quit-all!`, `:wqa!`, `:xa!` | Write changes from all views to disk and close all views forcefully (ignoring unsaved changes). |
20+| `:quit-all`, `:qa` | Close all views. |
21+| `:quit-all!`, `:qa!` | Close all views forcefully (ignoring unsaved changes). |
22+| `:cquit`, `:cq` | Quit with exit code (default 1). Accepts an optional integer exit code (:cq 2). |
23+| `:theme` | Change the editor theme. |
24+| `:clipboard-yank` | Yank main selection into system clipboard. |
25+| `:clipboard-yank-join` | Yank joined selections into system clipboard. A separator can be provided as first argument. Default value is newline. |
26+| `:primary-clipboard-yank` | Yank main selection into system primary clipboard. |
27+| `:primary-clipboard-yank-join` | Yank joined selections into system primary clipboard. A separator can be provided as first argument. Default value is newline. |
28+| `:clipboard-paste-after` | Paste system clipboard after selections. |
29+| `:clipboard-paste-before` | Paste system clipboard before selections. |
30+| `:clipboard-paste-replace` | Replace selections with content of system clipboard. |
31+| `:primary-clipboard-paste-after` | Paste primary clipboard after selections. |
32+| `:primary-clipboard-paste-before` | Paste primary clipboard before selections. |
33+| `:primary-clipboard-paste-replace` | Replace selections with content of system primary clipboard. |
34+| `:show-clipboard-provider` | Show clipboard provider name in status bar. |
35+| `:change-current-directory`, `:cd` | Change the current working directory. |
36+| `:show-directory`, `:pwd` | Show the current working directory. |
37+| `:encoding` | Set encoding based on `https://encoding.spec.whatwg.org` |
38+| `:reload` | Discard changes and reload from the source file. |
39+| `:tree-sitter-scopes` | Display tree sitter scopes, primarily for theming and development. |
40+| `:vsplit`, `:vs` | Open the file in a vertical split. |
41+| `:hsplit`, `:hs`, `:sp` | Open the file in a horizontal split. |
42+| `:tutor` | Open the tutorial. |
43+| `:goto`, `:g` | Go to line number. |