Repository navigation
SecureShell Go 1.4.4
Editing a server's config meant tapping from / down through four
levels of folders to find it — so most people gave up and used vim over
the terminal instead. This release is about not doing that.
Go straight to the file
Ctrl+L turns the breadcrumbs into a location bar. Type or paste a
path and go:
/etc/nginx/sites-available/default
A path to a file opens it in the editor and leaves the browser in that
file's folder, so its siblings are right there when you close it. ~
expands, a relative path resolves against the folder on screen, and a
path that cannot be reached shows the server's own message without
disturbing the listing you were looking at. Chips for /etc and
/var/log sit in the bar; the ordinary path bar keeps the width it had.
The editor takes the keyboard
Select all, copy, paste, cut and undo were never missing — they are what
a text field already does — but the editor did not take focus when a
file opened, so none of them did anything until you clicked into the
text. That is indistinguishable from the shortcuts being broken, and it
is fixed: opening a file on desktop puts the cursor in it. On a phone it
deliberately does not, because autofocus would throw the soft keyboard
over a file you may only be reading.
They are also reachable without a keyboard now — an Edit menu with
each chord written beside it, and a Keyboard shortcuts dialog
listing all eleven bindings, including the save, find, replace and
go-to-line that were already there.
One thing to know
In the side-by-side layout, clicking the file browser now gives it the
keyboard — the location bar needs somewhere for the keystroke to arrive.
Click the terminal to type there again. This is the ordinary split-pane
bargain, and the quieter of the two failures.