# User guide [RuneStone](../README.md) · [Installation](installation.md) This guide explains how to work with files, documents, tabs, settings, and the built-in browser in RuneStone. | Task | Go to | | --- | --- | | Open or create a workspace | [Open a workspace](#open-a-workspace) | | Create, find, or organize files | [Create and find files](#create-and-find-files) | | Write, read, or follow a link | [Edit documents](#edit-documents) | | Work with images, diagrams, or tables | [Images, diagrams, and tables](guides/document-tools.md) | | Read a PDF file | [Read PDF files](#read-pdf-files) | | Start a note from a template | [Use note templates](#use-note-templates) | | Arrange tabs and windows | [Manage tabs](#manage-tabs) | | Save, or recover from a changed file | [Save your work](#save-your-work) and [Resolve file conflicts](#resolve-file-conflicts) | | Change the language or colors | [Change settings](#change-settings) and [Appearance](guides/themes.md) | | Review changes and commit with Git | [Git guide](guides/git.md) | | Plan work on boards, a timeline, and a calendar | [Project Management guide](guides/project-management.md) | | Turn a built-in feature on or off | [Turn features on or off](#turn-features-on-or-off) | | Add plugins | [Install and manage plugins](plugins.md) | | Browse websites | [Use the built-in browser](#use-the-built-in-browser) | | Run commands or scripts | [Terminal guide](guides/terminal.md) | ## Open a workspace A workspace is a folder on your computer. RuneStone reads and writes its files directly. 1. Select the workspace name at the bottom of the sidebar, or press Ctrl+O. When the sidebar is hidden, select ⇕ at the bottom of the left ribbon. 2. Choose a recent workspace, **Open another folder…**, or **New workspace…**. Each workspace opens in its own window. The current window keeps its documents and terminals. **New workspace…** creates a named folder at the location that you choose. It does not replace an existing folder. The recent list keeps the 20 most recent folders. Select × beside a folder to remove it from the list. This does not change the folder. The navigator, Quick Open, and search hide `.git`, `.obsidian`, `.runestone`, and temporary save files. They do not apply Git ignore rules, and the navigator does not follow folder symbolic links. To show workspace settings and plugin data in the navigator, turn on **Settings → General → Show .runestone folder**. ## Create and find files | Action | How | | --- | --- | | New file | Press Ctrl+N and type the full name with its extension, such as `notes/meeting.md` or `scripts/check.py`. RuneStone does not add an extension. | | New note | Select **New note** in an empty tab, or right-click the navigator and choose **New note**. RuneStone creates a Markdown file. Rename it from the note title. | | Find a file by path | Press Ctrl+P. | | Search all files | Press Ctrl+Shift+F. The results come in groups by file, with the count and the matches marked. | | Find in the document | Press Ctrl+F. | | Show or hide the sidebar | Press Ctrl+\. | | Find a command | Press Ctrl+Shift+P, type part of the command name, and press Enter. The list also shows each shortcut and the plugin commands. | | Rename | Select an item in the navigator and press F2. RuneStone selects the name without the extension. | | Move | Drag files between folders. | | Bookmark | Right-click a file and choose **Bookmark**. The Bookmarks pane lists it with its folder. Select × beside a bookmark to remove it. | Right-click a file or folder for more actions, such as **Make a copy**, **Copy path**, and **Open in default app**. **Delete** is last in the menu, in the error color. With the navigator focused, Ctrl+X, Ctrl+C, and Ctrl+V cut, copy, and paste files. The navigator is one Tab stop. Up and Down move between items, and Shift+Up or Shift+Down extends the selection. Right opens a folder or enters it. Left closes a folder or goes to its parent. Home and End go to the first and last item. Type the start of a name to go to it. Ctrl+Z undoes a file move or rename, and Ctrl+Shift+Z or Ctrl+Y repeats it. ### Delete files **Delete** moves the selected items to the Recycle Bin or Trash. To get them back, restore them from there. Ctrl+Z does not restore deleted files. - Select items in the navigator and press Delete, or right-click and choose **Delete**. On macOS, you can also press Cmd+Backspace. - RuneStone asks for confirmation before it moves a folder or several items. One file moves without a question. - **Delete permanently** (Shift+Delete, or Cmd+Option+Backspace on macOS) removes the items from the disk. RuneStone always asks first. - A link is deleted as a link. The file or folder that it points to stays. Network drives, removable drives, and some Linux setups have no trash. There, **Delete** shows an error and keeps the files. Use **Delete permanently** if you want to remove them. ### Names of new files A new name cannot contain these characters: `< > : " | ? *`. Windows does not allow them. This rule applies on every platform, so that a workspace that you share, for example through Git, also opens on Windows. On macOS and Linux, you can still open, edit, rename, and delete existing files whose names contain these characters. ## Edit documents Each document pane has one view control with three choices, and a **Split** button: | Choice | Shows | | --- | --- | | **Write** | Formatted Markdown. The active line shows its Markdown source. | | **Source** | The plain source with line numbers and syntax colors | | **Read** | The rendered document, without editing. Markdown files only. | | **Split** | Read beside Write or Source. Narrow panes stack the two views. Select **Split** again to close it. Markdown files only. | Press Ctrl+E to switch between Write and Source. Press Ctrl+Shift+E to switch between Read and the editor. The tab menu has the same choices under **View**. The control shows icons only. Hover over an icon, or focus it with the keyboard, to see its name and shortcut. The arrow keys move the choice. The status bar shows the save state, the line and column of the cursor, the word count, the line endings (LF or CRLF), and the current view. For a folder on a network drive, it also shows **Polling for changes**. A tab without a document, such as the theme editor, has no outline and no document facts. The bar above the document shows the folder of the file, and the tab shows the file name. Write keeps your Markdown source, frontmatter, and Windows line endings. Read shows frontmatter in a collapsed **Properties** section. Select a checkbox to complete a task. Copy code blocks without their Markdown fences with the **Copy code** button. In a list item, press Tab to make a nested item. Press Shift+Tab to move it one level up. RuneStone renumbers the list. Nested ordered lists show letters, then Roman numerals. The Markdown source keeps the numbers, for example `1.`. Tab in other text indents by 4 spaces. To rename a note, select its title in Write and type a new name. Press Enter or leave the field to save the name. Press Escape to cancel. The file keeps its folder, extension, contents, and edit history. To hide the title in Write and Read, turn off **Settings → General → File name title**. Then use F2 or **Rename…** in the tab menu. Read follows CommonMark: a single line break inside a paragraph is a space. To show each line break of the source in Read, turn on **Settings → General → Keep line breaks**. ### Links and backlinks - Ctrl+click a link in Write or Source. In Read, a normal click follows the link. - A workspace file link opens in a new tab and keeps the current document open. - A heading link, such as `guide.md#save-your-work` or `#save-your-work`, scrolls to that heading. - A wiki link, such as `[[Meeting notes]]`, finds the note by name anywhere in the workspace. If two notes have the same name, use a relative or workspace path. - The **Backlinks** section below the outline lists notes that link to the current note. Select an entry to open it. If backlinks look out of date, select **Rebuild note index**. Your Markdown files do not depend on this index. ### Format text Right-click Markdown text, or press Shift+F10, to open the context menu. Use the arrow keys for submenus. Press Escape to return to the text. | Menu | Actions | | --- | --- | | Format | Bold, italic, strikethrough, highlight, code, math, comment, and clear formatting | | Paragraph | Bulleted and numbered lists, tasks, headings 1–6, body text, and quotes | | Insert | Footnotes, tables, callouts, horizontal rules, code blocks, and math blocks | In Write, these shortcuts format the selected text: | Format | Shortcut | | --- | --- | | Bold / Italic | Ctrl+B / Ctrl+I | | Strikethrough / Highlight | Ctrl+Shift+X / Ctrl+Shift+H | | Link (`[text]()`, with the cursor in the address) | Ctrl+K | The menu also has link, search, extraction, and clipboard actions. RuneStone has no formatting toolbar. Right-click a misspelled word to see spelling suggestions from the operating system. ## Read PDF files Select a PDF file in the file tree. It opens in its own tab. The file tree marks PDF files with a document icon. | Action | How | | --- | --- | | Change the page | Select **Previous page** or **Next page**. Or type a number in the page field and press Enter. With the page area focused, press Page Up or Page Down. | | Zoom | Select **Zoom in** or **Zoom out**, from 25% to 400%. **Fit width** fits the page to the tab again. | | Rotate | Select **Rotate clockwise**. Each click turns the page by 90 degrees. | | Copy text | Select text on the page with the pointer, then press Ctrl+C. | | Show changes from another program | Select **Reload PDF**. The tab stays on the same page. | | Open a protected PDF | Type the password, then select **Unlock**. RuneStone does not save the password. | - A PDF file must be in the workspace and at most 64 MiB. - The tab shows one page at a time. It does not edit PDF files, fill forms, open links, run scripts in a PDF, or print. - Scanned pages show as images, so you cannot select their text. - If a PDF does not open, the tab shows the error. Select **Reload PDF**, or try another copy of the file. PDF Viewer is a built-in feature. To turn it off, see [Turn features on or off](#turn-features-on-or-off). ## Use note templates A template is a Markdown file in the workspace folder `.runestone/templates/`. 1. Right-click a Markdown file or its tab. 2. Choose **Save as template** and type a name. 3. To use the template, choose **New note** in an empty tab or in the navigator, then select the template. New notes are copies. A change to a new note does not change the template. To create, rename, edit, or delete templates, choose **New note → Manage templates…** in the navigator. ## Manage tabs Each open tab keeps its undo history, cursor, and scroll position. | Action | How | | --- | --- | | New empty tab | Select + or press Ctrl+T. The next file that you open uses this tab. | | Next or previous tab | Ctrl+Tab or Ctrl+Shift+Tab | | Close the tab | Ctrl+W | | Reorder | Drag the tab. Press Escape to cancel. With a tab focused, press Alt+Shift+Left or Alt+Shift+Right. | | Pin, close others, or close all | Right-click the tab. | | Find a tab | Select ⌄ after the tabs for a list of all tabs. The list marks pinned and unsaved tabs. Fades at the ends of the tab strip show that more tabs are out of view. | | Move to a new window | Drag the tab out of the tab strip, or right-click it and choose **Open in new window**. | | Move to another window | Drag the tab to the tab strip of the other window. | RuneStone moves the current text of the tab, also unsaved text. It closes the source tab only after the new window accepts the tab. If the move fails, the source tab stays open. When you start RuneStone again, it opens the document tabs of the workspace. It keeps their order, pins, and active tab. This includes PDF tabs and plugin tabs that show a file. RuneStone reads the contents again from disk. Missing files do not stop the other tabs from opening. ## Save your work Auto-save is on by default. It saves changed files every 5 seconds, also in background tabs. RuneStone does not write unchanged files. Press Ctrl+S to save the active file immediately. To change auto-save, open **Settings → General**. Set an interval from 1 to 300 seconds, or turn auto-save off. **Restore defaults** sets auto-save on with a 5-second interval. If you close a tab with unsaved edits, RuneStone asks whether to save them: **Save**, **Don't save**, or **Cancel**. If you close a window with unsaved edits or running terminal sessions, RuneStone asks before it closes. Unsaved text and terminal sessions do not survive a restart or a crash. ## Resolve file conflicts When another program changes an open file, RuneStone does one of two things: - If the tab has no unsaved edits, RuneStone loads the new file contents. - If the tab has unsaved edits, RuneStone keeps your edits and shows a message. Expand **View disk version** to compare. Auto-save pauses for this tab until you choose an action. Then choose one action: | Action | Result | | --- | --- | | **Keep my edits** | Keeps your edits. The next save replaces the file on disk. | | **Save a copy** | Saves your edits to a new file. | | **Use disk version** | Replaces your edits with the file on disk. The button is last, in the error color. | If the file is deleted, the tab keeps your text. Use **Save a copy**, or **Retry** after the file is back. Before it saves, RuneStone compares the file on disk with the version that it last read. It writes a complete temporary file, then replaces the original. If a write fails, your edits stay in the tab. RuneStone does not lock files, so another program can still write at the same time. ## Change settings Select the gear at the bottom of the sidebar, or press Ctrl+,. When the sidebar is hidden, the gear is at the bottom of the left ribbon. Use the search field to find a setting. Settings apply at once to all workspaces on this computer and update all open windows. A text field applies when you leave it. | Category | Settings | | --- | --- | | General | Display language, **File name title**, **Keep line breaks**, **Table formulas**, **Show .runestone folder**, and auto-save | | Appearance | Color theme, transparency, background (a folder slideshow or one image), and custom themes. See [Appearance and custom themes](guides/themes.md). | | Features | Turn Git, Background, Terminal, PDF Viewer, and Project Management on or off. See [Turn features on or off](#turn-features-on-or-off). | | Plug-ins | Install, enable, update, and remove plugins. See [Install and manage plugins](plugins.md). | | Browser | Homepage, search engine, profiles, ad blocking, and web data | | Terminal | Default profile, font size, scrollback lines, and cursor blink. The page shows only while Terminal is on. See [Change the terminal settings](guides/terminal.md#change-the-terminal-settings). | | Project Management | Priority levels and the default board of the workspace. The page shows only while Project Management is on. See [Change the Project Management settings](guides/project-management.md#change-the-project-management-settings). | ### Turn features on or off Git, Background, Terminal, PDF Viewer, and Project Management are built-in features with an off switch. Open **Settings → Features** and use the switch beside the feature. - A feature that is on uses no extra memory until you first use it. Examples are Source control, a terminal, a PDF file, or a board. Background loads at the start only when you selected a folder or an image. - A feature that is off does not load. Its buttons, commands, and tabs do not show. - Terminal off ends the terminal sessions of every window. When a window runs a shell, RuneStone asks first. - A change applies at once in all windows. The code that a window loaded stays in memory until you restart RuneStone. After an update, Git takes the state of its old plugin package: on when the package was enabled, off when it was disabled. Without an old package, Git starts on. Terminal does the same with the old Terminal plugin, and it copies the terminal settings of that plugin. PDF Viewer does the same with the old PDF Viewer plugin. Project Management does the same with the old Project Management plugin, and it copies the priority levels of that plugin. Background starts on for every user. It takes the folder, the timing, and the targets of the Background Slideshow plugin when that plugin was on. Otherwise it shows your old background image, if you had one. See [Show a background](guides/themes.md#show-a-background). Settings → Plug-ins shows an old package as **Included with RuneStone**. You can uninstall it. ### Display language **Display language** sets the RuneStone controls to English, Français, 日本語, or 简体中文. It does not translate documents, plugin content, or operating system messages. Some error messages stay in English. Reopen a document to update its editor tooltips after a language change. ## Use the built-in browser RuneStone includes a Chromium-based browser. It needs no plugin, but its engine is a separate download of about 160 MB. 1. Select the globe button in the left ribbon to open a **New browser tab**. 2. The first time, select **Download the engine**. RuneStone downloads the engine, makes sure that it is complete, and opens the page. 3. Type an address or a search. Without internet access, select **Install from file…** and choose the engine ZIP for your RuneStone version. If a download fails, the tab shows the cause. Select **Retry** to start the download again. Until the engine is installed, web links in your documents open in your system browser. After a RuneStone update that needs a new engine, a browser tab offers **Update the engine**. Use **Settings → Browser** to set the homepage and search engine, manage profiles, block ads, and clear cookies, cache, or history. **Settings → Browser → Browser engine** shows the installed version. **Remove engine** frees the disk space. Your profiles, bookmarks, and history stay. Each profile keeps its own cookies and bookmarks. Web bookmarks show in the Bookmarks pane. To open web links from your documents in your system browser instead, turn off **Open web links in RuneStone**. ## Keyboard reference This table lists the Windows and Linux keys. On macOS, Cmd replaces Ctrl, and RuneStone shows the macOS symbols, such as ⇧⌘P. Help lists every shortcut. | Action | Shortcut | | --- | --- | | Find a command | Ctrl+Shift+P | | Open a workspace | Ctrl+O | | Find a file / New file | Ctrl+P / Ctrl+N | | New tab / Close tab | Ctrl+T / Ctrl+W | | Next tab / Previous tab | Ctrl+Tab / Ctrl+Shift+Tab | | Move the focused tab | Alt+Shift+Left / Alt+Shift+Right | | Save | Ctrl+S | | Find in document / Search workspace | Ctrl+F / Ctrl+Shift+F | | Switch Write and Source | Ctrl+E | | Switch Read and the editor | Ctrl+Shift+E | | Nest a list item / Move it up | Tab / Shift+Tab | | Leave the text, then move the focus on | Esc, then Tab | | Bold / Italic / Link (Write) | Ctrl+B / Ctrl+I / Ctrl+K | | Strikethrough / Highlight (Write) | Ctrl+Shift+X / Ctrl+Shift+H | | Show or hide the sidebar | Ctrl+\ | | Rename | F2 | | Delete to the trash / Delete permanently | Delete / Shift+Delete | | Context menu | Shift+F10 | | Resize a pane | Tab to its divider, then press the arrow keys | | Settings / Help and about | Ctrl+, / F1 | The [Terminal guide](guides/terminal.md) lists the terminal shortcuts. ## Limits - Math shows as formatted source text. RuneStone does not typeset formulas. - Source colors syntax, but has no language services such as error checks or go to definition. - RuneStone does not support Obsidian Bases. - Plugins have full access to RuneStone and your files. See [Install and manage plugins](plugins.md). ## Get help Press F1, or select the question mark at the bottom of the sidebar or of the left ribbon, for **Help and about**. It shows the app version, basic steps, and every shortcut. When you report a problem, include the app version, operating system, steps, expected result, and error text.