User guide / Files and buffers

File and buffer keys

Development reference · View source

KeyAction
Space f or Space / fOpen the Finder over files, buffers, and terminals by name or content; Tab switches modes and Ctrl-t toggles preview
Space / aThe same Finder over every file, ignore files not consulted
Space / pThe same unfiltered Finder rooted at a typed path, inside the workspace or outside it
Tab f in a directoryThe same Finder rooted at the directory the explorer shows (:open-explorer-finder)
:file-picker-directoryFuzzy-find a file or directory below the active file/explorer directory
:fuzzy-grep-directoryFuzzy-search contents below the active file/explorer directory
Space / /Search the workspace with a regular expression; see Search
g fOpen the selected path or web link, or the complete target under the cursor; relative files are matched beside the active file/explorer and at the project root
Space eOpen the active buffer’s directory as an editable explorer; from a file, select that file
Space EOpen the working directory (controlled by :cd) as an editable explorer
Space d t / Space d dToggle the directory tree / reveal the active file in it
Space b bOpen the buffer list; Enter visits, Ctrl-t toggles the preview and Tab shows valid actions
Space b cClose the active buffer safely (:close, :c) without changing the pane layout
Space b dCompare a fresh immutable disk revision with the active file buffer (:diff-disk)
Space b nOpen a new scratch buffer in the current pane (:buffer-new, :new)
Space rReload the active text file or refresh the active explorer or supported Git list
Space c y / Space c p / Space c PSystem clipboard yank / replace the selection, or paste after a bare caret / paste before
? in a Markdown document or the scratchpadRender it as formatted text, or return from that page to the source (:render)
Ctrl-s, :write, or :saveSave

Explorer keys are listed under Explorer keys , and tree keys under Directory tree sidebar .