The Window
The layout of Skein's window and how to arrange it: the four panels, docking and floating them, the menu bar and every menu, the toolbar, the status bar and the title bar, the marks for unsaved changes, and moving between the panels with the keyboard.
1. The parts of the window
From top to bottom, the window has a menu bar, a toolbar, the work area and a status bar. The work area holds four panels:
- The Project Tree, at the left at first: every object type and the objects in it, as an outline. See The Project Tree.
- The Document, in the middle: the write-up of the selected object, with its own formatting toolbar. It has no header, always stays in the middle and cannot be closed. See The Document Panel.
- The Inspector, at the right at first, with two tabs: Properties (the selected object's fields) and Relationships. See The Inspector.
- The Graph, along the bottom at first: the objects as nodes and the links between them. See The Graph.
The first layout. The Project Tree, the Inspector and the Graph each have a header with a pin, an options button ("...") and a close button; they can be moved to another edge or into a window of their own.
2. Arranging the panels
The Project Tree, the Inspector and the Graph each have a header with their title and three small icons: a pin, an options button ("...") and a close button.
| What you want | How to do it |
|---|---|
| Make a panel larger or smaller | Drag the divider between two panels. |
| Move a panel to another edge | Drag its header to the left, right or bottom edge; the place where it will go is highlighted. A panel can also go beside or under another panel on the same edge. Or use the options button: Move to Left, Move to Right, Move to Bottom (the edge it is on now is greyed). Dropped near a bottom corner, a panel at the bottom runs under only the middle and that side, and the panel on the other side takes the full height. |
| Put a panel in a window of its own | Drag its header out of the main window, or choose Float in the options menu. A floating panel can be moved by its header and resized by its two bottom corners. Choose Dock in the same menu, or drag it back to an edge, to put it back. |
| Lock a panel in place | Click its pin icon. A pinned panel cannot be dragged, and the Move and Float/Dock items of its menu are greyed. Click the pin again to unlock it. |
| Collapse a panel to its edge | Options button > Auto Hide. The panel becomes a button in a thin strip along its edge. Click the button to show the panel over the others. Choose Auto Hide again to turn this off. |
| Close a panel | Click its close button, or options button > Close. The View menu brings it back. |
The Project Tree's options menu has one more item, Find..., which opens the tree's Find bar (see The Project Tree).
Two settings in Settings > General change this behavior. With "Allow dragging panels to undock/redock" off, no panel can be dragged by its header, and a panel that is floating when you turn the setting off goes back to its edge at once. The items of the options menu still work. With "Keep floating panels on top of other windows" on, floating panels stay above the windows of other programs. Otherwise the floating panels go behind the window of another program when that program gets the keyboard focus.
Where the layout is kept. Which panels are visible is kept in settings.conf. Where each panel is, how large it is and which panel is beside which are kept inside the project file, so each project comes back with its own layout. Skein saves the layout when you quit, open another project or use Save As. For Markdown folders it is kept in ~/.config/skein/md_folder_state.yarn. The Document panel is always put back in the middle.
3. The View menu
| Item | Key | What it does |
|---|---|---|
| Project Tree | none | Shows or hides the Project Tree. The check mark shows whether it is visible, also after you close the panel from its header. |
| Inspector | none | Shows or hides the Inspector. |
| Graph | none | Shows or hides the Graph. A hidden Graph is not kept up to date; it catches up when you show it again. |
| Toggle Plain Text | Ctrl+M |
Switches the Document panel between formatted text and its Markdown source. While the source is shown, the item reads "Toggle Rich Text". |
4. The menus
The menus do not show the keys next to their items; the keys below are the defaults, and you can change them in Settings > Keyboard Shortcuts (see Keyboard Shortcuts). A greyed item cannot be used at that moment.
In an open menu, Up and Down move between the items, and Enter or the first letter of an item chooses it. An item with an arrow, such as File > New..., opens a menu of its own: Right, Enter or its letter opens it, and Left or Escape goes back. Escape in the first menu closes it.
File
| Item | Key | What it does |
|---|---|---|
| Open... > Open Project... | Ctrl+O |
Opens a .yarn project. See Projects and Saving. |
| Open... > Open Folder... | none | Adds a folder of Markdown files to the Markdown workspace. See Markdown Folders. |
| Open... > Open Markdown... | none | Adds one Markdown file to the Markdown workspace. |
| Import > ... | none | Eight importers, from Cherrytree to Standard Notes. See Import and Export. |
| New... > New Project | none | Starts a new, empty project in memory. |
| New... > New Folder | none | Replaces the Markdown workspace with one folder you choose. |
| New... > New Markdown | none | Replaces the Markdown workspace with one file you choose. |
| Close... > Close File | none | Removes the selected Markdown file from the workspace. Only for a Markdown file. When it has changes that are not saved yet, Skein asks first whether to save them. |
| Close... > Close Folder | none | Closes the Markdown workspace. Only when a Markdown folder is open. |
| Close... > Close Project | none | Closes the project and starts a new, empty one. Not for Markdown folders. |
| New Group | Ctrl+Shift+N |
Makes a new object type. See The Project Tree. |
| New Child Node | Ctrl+N |
Makes a new object in the selected type, or a child of the selected object. |
| Make Child Node | none | Makes a child of the selected object. Only with an object selected. |
| Make Parent Node | none | Makes a new object next to the selected object's parent, right after it. Only for an object that has a parent object. |
| Save | Ctrl+S |
Saves the project. A new project that has never been saved asks for a file name, as Save As does. For Markdown folders, Save writes the changed notes to their files. |
| Save As... | Ctrl+Shift+S |
Saves a copy of the project under a new name and goes on working in the copy. |
| Save Folder As Project... | Ctrl+Shift+P |
Turns the Markdown workspace into a .yarn project. Only for Markdown folders. |
| Export as Static Site... | none | Writes the project as web pages. See Import and Export. |
| Quit | Ctrl+Q |
Quits Skein, asking first when there are unsaved changes. For a new project that has never been saved, Save in that question asks for a file name; Cancel there keeps Skein open. |
Ctrl+W (Close Folder/Project) has no item of its own: it closes the Markdown folders while they are open, and the project otherwise.
Edit
| Item | Key | What it does |
|---|---|---|
| Undo | Ctrl+Z |
Undoes the last change: of the document's text, when that was the last thing you changed, and otherwise of the project (see Projects and Saving). |
| Redo | Ctrl+Y |
Does it again. |
| Rename | F2 |
Renames the selected type or object. |
| Delete | Ctrl+Delete |
Deletes the selected type or object, after asking. |
| Change Icon... | Ctrl+Shift+I |
Chooses the icon of the selected type or object. |
| Manage Fields... | Ctrl+Shift+F |
Defines the fields of the selected type, or of the selected object's type. See The Inspector. |
| Sort Graph Nodes | Ctrl+Shift+G |
Lays out the Graph again. Only when the Graph has nodes. |
| Settings... | Ctrl+, |
Opens the Settings dialog. See Settings. |
Rename, Delete, Change Icon... and Manage Fields... are greyed while nothing is selected.
View
See section 3.
Help
| Item | Key | What it does |
|---|---|---|
| About Skein | none | Shows the version, the icon, the address of the repository and the author. A click on the repository's address or the mail address opens it in your browser or mail program (with xdg-open). Enter, Escape or Close closes it. |
| Usage | F1 |
Shows every keyboard shortcut with its current key, and how Ctrl+Tab moves between the panels. Its text can be selected and copied. OK, Enter or Escape closes it. |
5. The toolbar
The toolbar under the menu bar has four buttons. Pause the pointer over one to see its name.
| Button | What it does |
|---|---|
| New (with an arrow) | A menu with New Project, New Folder and New Markdown, as in File > New.... |
| Open (with an arrow) | A menu with Open Project..., Open Folder... and Open Markdown..., as in File > Open.... |
| Save | File > Save. |
| Save As | File > Save As.... |
The Document panel has a toolbar of its own, for formatting; see The Document Panel.
6. The status bar
The status bar says what is selected, with its parts separated by dashes:
| Selected | The status bar shows |
|---|---|
| Nothing | (nothing selected) |
| An object type | Recipes — Object Type |
| A top-level object | Sourdough — Recipes — Top-level — Flavor: CommonMark |
| A child object | Starter — Recipes — Under Sourdough — Flavor: GitHub |
The flavor is the kind of Markdown Skein finds in the document: CommonMark (nothing beyond plain Markdown), GitHub (a table, strikethrough or a task list), Extended (a [[wiki link]] or a ==highlight==), Kramdown (a definition list, a footnote or an attribute list), Pandoc (a citation, YAML front matter or raw LaTeX math between dollar signs; an amount such as $5 is not math) or Obsidian (an embed, a block reference, or a callout other than the five admonitions of the Document panel's toolbar). After an export or an import, the status bar says how many pages were written or how many notes came in, until you select something else.
Messages. When something cannot be done (a save or an import fails, a file is not a Skein project, a link leads nowhere, nothing is selected for New Child Node), Skein says so in a small window with an OK button. Enter or Escape closes it.
7. The title bar and the marks for unsaved changes
The title bar shows the project's file name, as Skein - recipes.yarn. A new project that has no file yet shows Skein - Untitled, and Markdown folders show Skein - Markdown Folder, or the path of the selected folder or the name of the selected file. A * at the start of the title means that the project has changes that are not saved yet.
The panels mark unsaved changes too. The Project Tree's title reads * Project Tree while types or objects have been made or deleted since the last save, and the new and changed rows are drawn bold, in the theme's color for unsaved rows. The Inspector's title reads * Inspector while the fields of a type have been changed in Manage Fields.
8. Moving around with the keyboard
| Key | What it does |
|---|---|
Ctrl+Tab |
Moves the keyboard focus forward: the Project Tree, the Document, then each field of the selected object in the Inspector in turn. |
Ctrl+Shift+Tab |
The same, backwards. |
Tab |
In a Textarea field, and in the Document outside a table, it types a tab. Use Ctrl+Tab to move on from them. |
Escape |
Closes the dialog, list, menu or color picker that is open. In the main window it closes the Project Tree's Find bar when that is open, and otherwise does nothing: it never quits Skein (Ctrl+Q does). |
9. Known limitations
- There is no item to put the panels back in their first layout, and the Document panel cannot be hidden.
- A layout is kept inside the project file, so the layout of a new project that is never saved is lost when you quit.
- The menus do not show the keys of their items.
