Commands¶
This list is non-exhaustive, the commands present in Hexal Latest will likely have changed names, or increased in volume since the time of writing this documentation.
| Command | Action |
|---|---|
:w |
Save the current buffer in the background |
:w <file> |
Save as <file> and update the buffer name |
:wq |
Save, then quit once the saved snapshot has no newer edits |
:q |
Quit; asks for confirmation if dirty |
:q! |
Quit without saving |
:e <file> |
Open a file |
:e! <file> |
Open a file, discarding unsaved changes |
:path |
Show the current file's absolute path in the message bar |
:fmt |
Format the current buffer with its language formatter |
:fmta <ext> |
Format every non-ignored workspace file with the extension |
:cw |
Remove trailing spaces and tabs from every line |
:cfg |
Open the active configuration file |
:rcfg |
Reload configuration, grammars and themes |
:open-log, :ol |
Open ~/.hexal/hexal.log |
:gi |
Toggle showing git-ignored files in the sidebar and pickers |
:gdl |
Toggle added/deleted/modified markers in the line-number gutter |
:gj |
Jump to the next git diff line |
:gjp |
Jump to the previous git diff line |
:smc |
Toggle case-sensitive matching for all searches |
:vs |
Split the focused pane vertically, side by side |
:hs |
Split the focused pane horizontally, stacked |
:cb |
Close the focused pane; with one pane, use :q/:q! to quit |
:adi |
Detect and apply the current buffer's indentation style |
:pt |
Browse, search and open non-ignored workspace files as a tree |
:ww |
Toggle soft word wrap and persist the setting to .hexcfg |
:help |
Open the scrollable keybinding and command reference |
:help |
Show a short key reminder |
:debug-lsp, :dl |
Inspect live language-server traffic and client diagnostics |
:debug [executable], :dbg |
Start an experimental DAP session |
:dbg-break |
Toggle a breakpoint on the current line |
:dbg-cont, :dbg-next, :dbg-step, :dbg-out |
Continue or step the stopped debuggee |
:dbg-pause, :dbg-stop |
Pause or stop the debug session |
:dbg-sv, :dbg-vars |
Show or hide scopes, variables and watches |
:dbg-watch <expression> |
Watch a variable or expression across stops |
:dbg-unwatch <expression> |
Remove one debug watch |
:dbg-clear-watches |
Remove every debug watch |
:debug-dap, :dd |
Inspect live debug-adapter traffic and state |