File and buffer keys
Development reference · View source
| Key | Action |
|---|---|
Space f or Space / f | Open the Finder over files, buffers, and terminals by name or content; Tab switches modes and Ctrl-t toggles preview |
Space / a | The same Finder over every file, ignore files not consulted |
Space / p | The same unfiltered Finder rooted at a typed path, inside the workspace or outside it |
Tab f in a directory | The same Finder rooted at the directory the explorer shows (:open-explorer-finder) |
:file-picker-directory | Fuzzy-find a file or directory below the active file/explorer directory |
:fuzzy-grep-directory | Fuzzy-search contents below the active file/explorer directory |
Space / / | Search the workspace with a regular expression; see Search |
g f | Open 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 e | Open the active buffer’s directory as an editable explorer; from a file, select that file |
Space E | Open the working directory (controlled by :cd) as an editable explorer |
Space d t / Space d d | Toggle the directory tree / reveal the active file in it |
Space b b | Open the buffer list; Enter visits, Ctrl-t toggles the preview and Tab shows valid actions |
Space b c | Close the active buffer safely (:close, :c) without changing the pane layout |
Space b d | Compare a fresh immutable disk revision with the active file buffer (:diff-disk) |
Space b n | Open a new scratch buffer in the current pane (:buffer-new, :new) |
Space r | Reload the active text file or refresh the active explorer or supported Git list |
Space c y / Space c p / Space c P | System clipboard yank / replace the selection, or paste after a bare caret / paste before |
? in a Markdown document or the scratchpad | Render it as formatted text, or return from that page to the source (:render) |
Ctrl-s, :write, or :save | Save |
Explorer keys are listed under Explorer keys , and tree keys under Directory tree sidebar .