mirror of
https://github.com/narrrl/narl-workspace.git
synced 2026-11-04 00:47:01 +01:00
keys: links are followed without the pointer
`F` puts a letter or two over every link and button in view, vimium-style, and typing one does what a click on it would. `f` was already fullscreen, so the hints live on the other key. The labels start from the home row and are all one length, so a label is done the moment it is typed. Esc, a key that matches no label, or anything that scrolls the page puts them away. In the file pane they reach the unlock and keystore buttons too. A workspace link (`/n/…`) opens in place, as a click on it already did. Any other link gets a tab of its own instead of taking the workspace with it. In the editor, `gf` follows the link under the cursor, or the next one on the line. A workspace link saves the text and opens that document. `gx` opens the link in a new tab, as vim hands it to the browser. Both read markdown links, embeds, `<…>` autolinks and bare addresses.
This commit is contained in:
1 parent
6a8ffdf408
commit
54bc333be2
9 files changed
+226
-6
No files matched your search
@@ -79,6 +79,7 @@ it; in the document pane it is that document. In the browse pane:
|
||||
| `Ctrl-D` / `Ctrl-U` | half a page down / up the open document |
|
||||
| `]]` / `[[` | the next / previous heading of the open document, in the editor too |
|
||||
| `gO` | the document's headings as a list — `j`/`k`, `Enter` jumps there (`:outline`) |
|
||||
| `F` | a letter over every link and button in view; typing it follows it — links out of the workspace open in a tab of their own |
|
||||
| `Enter`, `l` | open the highlighted entry; on an open keystore or sealed file, `Enter` asks for its password |
|
||||
| `o` | a new document here, straight into insert mode |
|
||||
| `O` | a new folder here |
|
||||
@@ -106,7 +107,8 @@ mode, macros, `:w` to write. `:help` lists every ex command; the useful ones are
|
||||
`:upload`, `:media`, `:search`, `:backup` and
|
||||
`:set novim`. `:name` on its own moves up into the title; `Enter`, `Esc` or `↓`
|
||||
there goes back down into the text. In the text, `]]`, `[[` and `gO` walk the
|
||||
headings as they do in the reader. The rest: `:today` opens today's entry, `:edit [id]` (or `:12`)
|
||||
headings as they do in the reader. `gf` follows the link under the cursor, saving
|
||||
first, and `gx` opens it in a new tab. The rest: `:today` opens today's entry, `:edit [id]` (or `:12`)
|
||||
opens a node by id, `:next`, `:prev`, `:first`, `:last` and `:random` walk the
|
||||
list, `:delete [id]` deletes, `:copy` puts the whole document on the clipboard,
|
||||
`:clear` drops the search, `:reload` re-reads the folder, `:stats` counts words
|
||||
|
||||
Reference in new issue
Block a user