File actions
Development reference · View source
| Action | Modes | count | register | extend | arg | Position | Description |
|---|---|---|---|---|---|---|---|
directory-open | normal, select | — | — | — | — | last | Open file explorer in the active buffer’s directory |
directory-tree-toggle | normal, select | — | — | — | — | any | Show or hide the directory tree |
directory-tree-focus | normal, select | — | — | — | — | any | Reveal the active file in the directory tree |
directory-open-working-directory | normal, select | — | — | — | optional path | last | Open file explorer in the working directory |
open-file-picker | normal, select | — | — | — | — | last | Open the finder over the project’s files, buffers, and terminals |
open-all-files-picker | normal, select | — | — | — | — | last | Open the finder over the project, including files Git ignores |
open-path-file-picker | normal, select | — | — | — | optional path | last | Open the finder in a chosen path, including files Git ignores |
save | normal, select, insert, replace | — | — | — | optional path | last | Write the active buffer |
new-buffer | normal, select | — | — | — | — | any | Open a new scratch buffer |
open-navigator | normal, select, insert, replace | — | — | — | — | any | Navigate open buffers and terminals |
previous-destination | normal, select, insert, replace | — | — | — | — | any | Return to the previous destination in this pane |
session-previous | normal, select, insert, replace | — | — | — | — | last | Return to the previously visited persistent session |
session-1 | normal, select | — | — | — | — | last | Attach to persistent session 1 |
session-2 | normal, select | — | — | — | — | last | Attach to persistent session 2 |
session-3 | normal, select | — | — | — | — | last | Attach to persistent session 3 |
session-4 | normal, select | — | — | — | — | last | Attach to persistent session 4 |
session-5 | normal, select | — | — | — | — | last | Attach to persistent session 5 |
session-6 | normal, select | — | — | — | — | last | Attach to persistent session 6 |
session-7 | normal, select | — | — | — | — | last | Attach to persistent session 7 |
session-8 | normal, select | — | — | — | — | last | Attach to persistent session 8 |
session-9 | normal, select | — | — | — | — | last | Attach to persistent session 9 |
session-next-running | normal, select, insert, replace | — | — | — | — | last | Visit the next running persistent session |
session-previous-running | normal, select, insert, replace | — | — | — | — | last | Visit the previous running persistent session |
open-buffer-picker | normal, select | — | — | — | — | any | Open the buffer picker |