Files
Browse local and remote files over SFTP, transfer between panes, and open a shell in the current directory.
The Files tab is a dual-pane browser. Each pane can be local or remote, in any combination (local↔local, local↔remote, remote↔remote). Press 5 to open Files. Both panes start on the host picker. Press F on a host from Hosts to connect that host on the right pane. The other pane stays on the picker until you choose it.
Pane modes
| Tone | Meaning |
|---|---|
| No title | Host picker. Choose Local or a host |
Slate label local | This machine, after you choose Local |
| Teal host name | Connected over SFTP |
| Key | Action |
|---|---|
L / R | Make the focused pane local / remote |
w | Swap left and right panes |
h / ← | Parent directory, or collapse a group in the host picker |
l / → | Enter the selected directory, or open the picker row |
g / G | Top / bottom of list |
Ctrl+F | Edit path (or search hosts on a picker) |
f | Fuzzy jump (type to filter, then a label letter to land) |
D | Return the focused pane to the host picker |
Connecting
Both panes open on a host picker, with no local or remote title. Local is the first row. Under it, groups match the Hosts tab, including icons, colours, and collapse. Enter or → on Local makes that pane local and titles it local, with the path beside it. Enter or → on a host connects it and titles the pane with that host's name. Enter toggles a group: it expands a collapsed group and collapses an open one. → expands a collapsed group and leaves an open one as it is. Left collapses a group, or moves to its parent when it is already collapsed. Space toggles the group. Collapse is shared with Hosts. L opens the local directory directly. R opens the picker from that directory. D does the same, and it also disconnects a connected host back to the picker. Ctrl+F on a picker searches hosts and shows the query in place of a title.
Bast prepares cloud access the same way as a normal connection, then opens OpenSSH SFTP (ssh -s sftp).
SFTP uses BatchMode for key-based hosts, so passphrase and host-key prompts cannot interrupt the TUI. Hosts with a stored password use askpass. Password-only hosts without a stored password leave BatchMode off so OpenSSH can prompt on the TTY. If connect fails, unlock the key with ssh-add, or Connect once from Hosts to accept the host key, then retry.
Navigation
| Key | Action |
|---|---|
↑ / ↓ or j / k | Move |
Enter | Enter directory, connect the selected host, choose Local, or toggle a group |
→ | Enter directory, connect the selected host, choose Local, or expand a group |
h / ← / Backspace | Parent directory, or collapse a group / move to its parent in the picker |
Tab | Switch pane |
Ctrl+F | Jump to a typed path (or search hosts) |
. | Toggle hidden files |
␣ | Toggle mark |
v | Start or finish a range mark |
f | Fuzzy jump |
Click a pane to focus it, a row to select it, and the same row again to enter a directory or connect a host. Click the path header to edit the path once a pane is local or connected. On a picker, Ctrl+F searches hosts. Scroll wheel moves the pane under the pointer.
Fuzzy jump
Press f on a file list. Entries go muted until you type. Matches light up and get a letter label (a, s, d, …). Keep typing to narrow, or type a label letter to jump there (flash-style). Esc cancels.
Copy and move always target the other pane’s current directory.
Transfers and edits
| Key | Action |
|---|---|
c | Copy marked items (or the cursor row) to the other pane |
m | Move (copy, then delete source) |
d | Delete (confirm by typing the name, or DELETE for a batch) |
a | Create directory |
r | Rename |
i | File info (name, type, size, mode) |
o | Preview the cursor file (text, JSON, PDF) |
p | Change permissions (chmod) on local or remote items |
esc / x | Cancel an in-progress transfer |
File info
Press i on the cursor row. The focused pane shows name, type, size, mode (octal and symbolic), and modified time. j/k move to the next or previous item while info stays open. p jumps into the permissions editor. i or Esc closes.
Preview
Press o, or Enter on a file. A floating panel shows the contents. Text and JSON are shown as text (JSON is indented). PDFs show extracted text, not rendered pages. Images and binaries show type and size only.
| Key | Action |
|---|---|
j / k | Scroll |
[ / ] | Previous / next file |
o / Esc / q | Close |
l still enters directories only. Space still marks. Preview reads a prefix of text files (512 KB) and will not download PDFs larger than 8 MB.
Permissions
Press p on the cursor row or marked items. The focused pane opens an inline permissions grid for Owner / Group / Other with Read / Write / Exec. The current mode seeds the checkboxes.
| Key | Action |
|---|---|
← → ↑ ↓ or h j k l | Move across the grid |
Space or x | Toggle the focused bit (or recursive / octal focus) |
0-7 | Set the current class (owner/group/other) to that octal digit |
u g o | Jump to Owner / Group / Other |
/ | Edit the octal mode directly |
Enter | Apply |
Esc | Cancel |
When any selected path is a directory, a contents option appears. Turn it on to apply the mode recursively (symlinks are skipped while walking).
Works the same on local and remote panes. The other pane stays visible while you edit.
Open a shell here
Press t on a local pane for $SHELL in that directory, or on a connected remote pane for ssh with cwd set (host RemoteCommand is cleared for this jump). On a host picker, t opens a normal SSH session for the selected host.
What this is not (yet)
Deferred for later:
- Fuzzy find across the whole tree (current
fjump is per-pane listing) - Directory sync / mirror
- Trash / undo
- chown UI
- Shared ControlMaster connections
Native OpenSSH
Transfers use your system ssh binary and the same SSH config as Connect, including ProxyJump and cloud ProxyCommand tunnels.