159 lines
8.5 KiB
Markdown
159 lines
8.5 KiB
Markdown
# User guide
|
||
|
||
[RuneStone](../README.md) · [Installation](installation.md)
|
||
|
||
This guide describes current source behavior. A supplied installer can contain an earlier feature set.
|
||
Check its release notes if a control is missing.
|
||
|
||
| Task | Go to |
|
||
| --- | --- |
|
||
| Open a workspace or create files | [Files and workspaces](#open-a-workspace) |
|
||
| Write, read, or follow a link | [Edit documents](#edit-documents) |
|
||
| Work with images, diagrams, or tables | [Document tools](guides/document-tools.md) |
|
||
| Save a reusable note | [Templates](#use-note-templates) |
|
||
| Change colors | [Appearance](guides/themes.md) |
|
||
| Run commands or scripts | [Terminal guide](guides/terminal.md) |
|
||
| Resolve a changed or missing file | [File conflicts](#resolve-file-conflicts) |
|
||
|
||
## Open a workspace
|
||
|
||
Use the folder button or Ctrl+O to open a folder or choose a recent workspace.
|
||
The menu shows full paths and remembers the 20 most recent folders.
|
||
New workspace creates a named folder without replacing an existing folder.
|
||
Opening another workspace creates a new window and keeps the current window's documents and terminals.
|
||
|
||
RuneStone uses ordinary files. The navigator, Quick Open, and search do not apply Git ignore rules.
|
||
They hide `.git`, `.obsidian`, and temporary save files. The navigator hides `.runestone` by default.
|
||
Settings → General → Show .runestone folder reveals workspace configuration files in the navigator.
|
||
The navigator does not traverse directory symlinks.
|
||
|
||
## Create and find files
|
||
|
||
Press Ctrl+N for New file. Enter the complete filename, including its extension, such as `notes/meeting.md` or `scripts/check.py`.
|
||
RuneStone does not add an extension to New file.
|
||
New note creates a Markdown file. The note title can then rename it.
|
||
|
||
Use Ctrl+P to find files by path. Ctrl+Shift+F searches the workspace, and Ctrl+F searches the editor.
|
||
Right-click a file or folder for its available actions. Drag files between folders to reorganize them.
|
||
With the navigator focused, Ctrl+Z undoes a file move and Ctrl+Shift+Z repeats it.
|
||
|
||
## Edit documents
|
||
|
||
Writer shows Markdown as a continuous document. The active line reveals its source, while other lines show formatting.
|
||
Use Enter, arrow keys, and ordinary text selection to edit across lines.
|
||
Checkboxes update their task markers, and completed tasks show a strike through their text.
|
||
|
||
Ctrl+E switches between Writer and the IDE source editor. The document controls select Edit, Read, or Split.
|
||
Hover a control or focus it with the keyboard to see its label. Split stacks vertically in narrow panes.
|
||
Writer edits preserve Markdown source, frontmatter, and Windows line endings.
|
||
Read displays frontmatter in a collapsed Properties section.
|
||
|
||
Ctrl+click opens links in Writer and IDE mode. Workspace file links open a tab and retain the source document.
|
||
Read mode follows links with an ordinary click. Wiki links, note callouts, and Mermaid diagrams work in document views.
|
||
Code blocks remain editable on the first click. Their Copy code button copies the body without the Markdown fences.
|
||
|
||
Click the note title in Writer to rename its file. Enter or leaving the field saves the name, and Escape cancels.
|
||
The rename keeps the folder, Markdown extension, contents, and editing history.
|
||
|
||
### Format text
|
||
|
||
Right-click Markdown text, or press Shift+F10, for formatting, links, search, extraction, and clipboard actions.
|
||
Use arrow keys for submenus and Escape to return to editing.
|
||
|
||
| Menu | Actions |
|
||
| --- | --- |
|
||
| Format | Bold, italic, strike, highlight, code, math, comments, and clear formatting |
|
||
| Paragraph | Lists, tasks, headings 1–6, body text, and quotes |
|
||
| Insert | Footnotes, tables, callouts, horizontal rules, code blocks, and math blocks |
|
||
|
||
There is no formatting toolbar. Obsidian Bases are not supported.
|
||
Right-click a misspelled word for the operating system's spelling suggestions when available.
|
||
Windows can retain its native spelling menu when WebView2 cannot expose suggestion labels to RuneStone.
|
||
|
||
## Use note templates
|
||
|
||
1. Right-click a Markdown file or its tab.
|
||
2. Choose Save as template and enter a name.
|
||
3. Choose the saved template from New note.
|
||
|
||
Templates belong to the current workspace and live in `.runestone/templates/` as Markdown files.
|
||
New note copies the template into a new file. Duplicate names receive a unique filename.
|
||
Editing the new note does not change the template. New file still accepts an exact filename and extension.
|
||
|
||
## Manage tabs
|
||
|
||
Tabs retain their editor models, undo history, cursor, and scroll position while open.
|
||
Click + or press Ctrl+T for an empty tab. Opening or creating a file uses that tab.
|
||
Ctrl+Tab selects the next tab, and Ctrl+Shift+Tab selects the previous tab.
|
||
|
||
Drag a tab to reorder it. Holding it near an edge scrolls the tab strip, and Escape cancels the drag.
|
||
Right-click a tab for Move tab left or Move tab right.
|
||
With a tab focused, Alt+Shift+Left or Alt+Shift+Right moves it. Arrow keys, Home, and End select tabs.
|
||
|
||
Drag a tab outside the tab strip to move it into a new window.
|
||
You can also right-click the tab and choose Open in new window.
|
||
RuneStone transfers the current buffer, including unsaved text. It closes the source tab after the new window accepts the transfer.
|
||
If the transfer fails or the source buffer changes before acceptance, the source tab remains open.
|
||
|
||
## Save your work
|
||
|
||
Auto-save starts enabled with a five-second interval and includes background tabs.
|
||
Ctrl+S saves immediately. RuneStone does not rewrite unchanged files.
|
||
Settings → General accepts an interval from 1 to 300 seconds or turns auto-save off.
|
||
The interval changes when you leave the field. Restore defaults enables the five-second interval again.
|
||
|
||
Closing a dirty tab or desktop window asks before it discards edits or ends terminal sessions.
|
||
Open tabs and unsaved buffers do not restore after an application restart.
|
||
|
||
## Resolve file conflicts
|
||
|
||
Clean buffers reload when another tool changes the file. A buffer with local edits shows a disk conflict instead.
|
||
Choose the disk version, keep local edits, or save a copy. Missing files keep their open buffer.
|
||
|
||
Saves compare disk text with the saved baseline, write a complete temporary file, then replace the destination.
|
||
Failed writes keep the edits available. This process does not lock other tools out of the file.
|
||
Another process can still write between the final comparison and replacement.
|
||
|
||
## Change settings or add plugins
|
||
|
||
The gear beside the workspace selector opens Settings. Ctrl+, works when the sidebar is hidden.
|
||
Settings searches by category. Preferences apply to all workspaces on this device and synchronize across open windows.
|
||
The desktop uses a separate Settings window. The browser preview uses a dialog.
|
||
|
||
Settings → Appearance selects built-in colors or installs a theme. See the [appearance guide](guides/themes.md).
|
||
Settings → Plug-ins installs local ZIPs or experimental Gitea release links.
|
||
Use the [plugin guide](plugins.md#install-a-plugin) for installation, access, and removal details.
|
||
|
||
No optional plugin starts automatically in a fresh installation. Enable choices persist across restarts and windows.
|
||
Disabling Terminal ends its sessions. Disabling Table formulas preserves formulas and basic table editing.
|
||
Uninstall removes the installed package after confirmation and retains its settings and workspace documents.
|
||
|
||
## Keyboard reference
|
||
|
||
These are the Windows/Linux shortcuts. macOS desktop behavior still needs native tests.
|
||
|
||
| Action | Shortcut |
|
||
| --- | --- |
|
||
| Open workspace / Find file / New file | Ctrl+O / Ctrl+P / Ctrl+N |
|
||
| New tab / Close tab | Ctrl+T / Ctrl+W |
|
||
| Next tab / Previous tab | Ctrl+Tab / Ctrl+Shift+Tab |
|
||
| Save / Find in document / Search workspace | Ctrl+S / Ctrl+F / Ctrl+Shift+F |
|
||
| Switch Writer and IDE | Ctrl+E |
|
||
| Context actions | Shift+F10 |
|
||
| Settings / Help and about | Ctrl+, / F1 |
|
||
|
||
The [Terminal guide](guides/terminal.md) lists plugin shortcuts.
|
||
|
||
## Get help and check limits
|
||
|
||
Press F1 or use the question mark beside the workspace selector for Help and about.
|
||
It shows the app version, basic instructions, and shortcuts. Escape or the close button returns to the document.
|
||
|
||
Vault-wide wiki-link resolution, backlinks, and math rendering still need work.
|
||
Language servers, restricted plugin permissions, persistent tabs after restart, and crash recovery remain planned.
|
||
Git controls are available through the optional Git plugin. Git is no longer only a planned feature.
|
||
Unsaved buffers and terminal sessions last only for the current application session.
|
||
|
||
For setup failures, use [installation help](installation.md#setup-help).
|
||
For a reproducible problem, record the app version, operating system, steps, expected result, and error text.
|