fedit

commands

Every built-in command accepted by the command palette. This page is generated from the same specs used by fedit's parser and completions.

Press Ctrl+P, then type a command without the leading colon. Looking for shortcuts? See the generated keybinding reference.

open <path>

Open a file from the workspace.

write

Save the active buffer.

writeas <path>

Save the active buffer to a new path.

quit [force]

Exit fedit. quit force discards unsaved changes.

config

Open the fedit config file (~/.config/fedit/config.json) in a buffer.

sidebar keyboard-first

Toggle the sidebar.

tree keyboard-first

Focus the file tree.

editor keyboard-first

Focus the editor.

reveal

Reveal the active file in the sidebar.

reload

Reload the workspace tree.

next

Activate the next open buffer.

prev

Activate the previous open buffer.

theme <name>

Switch theme. Bundled palettes plus any user themes from ~/.config/fedit/themes/*.json.

recent <path>

Open a recently used file.

buffers <id-or-name>

Switch to an open buffer.

close [id-or-name]

Close a buffer (the active one by default).

syntax <on|off|toggle>

Toggle syntax highlighting.

plugin <list|enable|disable|install|remove|reload|validate> [arg]

Manage installed plugins.

plugins

Open the plugin manager.

macros

Open the macro manager.

messages

Review recent notifications, newest first.

keybind [reload | <stroke>]

List effective keybindings, reload the file, or show what a stroke is bound to.

lsp [status|restart|enable|disable|log] [server]

Manage language servers. Bare lsp opens the manager.

diagnostics

List the active buffer's language-server diagnostics.

hex [on|off|toggle]

View the active buffer as a hex dump. Bare hex toggles.

replace <from> <to>

Replace every occurrence, exact-match — replace foo bar, or replace 1a2c78 ffffff in a hex view.