| .github/workflows | ||
| assets | ||
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .npmrc | ||
| .prettierrc | ||
| esbuild.config.mjs | ||
| LICENSE | ||
| main.ts | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| styles.css | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
loom in obsidian
i currently recommend reading through this readme, as the plugin might otherwise be confusing or inexplicably broken under some conditions, especially if you are new to loom or to obsidian
default hotkeys:
Ctrl+Space- completeCtrl+Alt+n- create childAlt+n- create siblingAlt+c- split in-range node at caret (<- this is poorly explained but useful! try it!)Ctrl+Alt+c- clone current nodeAlt+Backspace- delete current nodeAlt+Down- switch to next siblingAlt+Up- switch to previous siblingAlt+Left- switch to parentAlt+Right- switch to (most recently visited) childAlt+e- collapse/expand current node
the following commands don't have hotkeys by default:
- open loom pane
- delete current node's children
- delete current node's siblings
- (debug) reset state
buttons shown when hovering over a node in the loom pane:
- hoist (only show this node and its children)
- delete
- in menu:
- create child
- create sibling
- delete all children
- delete all siblings
to install, clone this repository into a directory in [vault]/.obsidian/plugins.
in the plugin directory, run npm i and npm run build. you will need node.js 14 or higher.
enable the plugin and set the openai api key in the Loom settings tab
for those new to obsidian: the loom ui, containing a tree of the selected note's nodes, is not open by default. to open it, you can either:
- open the command palette with
Ctrl+P, then search for and run the "open loom pane" command - open the right sidebar -- there is a toggle in the top right of the screen -- and switch to the loom tab*
for those on macos: a few default hotkeys -- Alt+n, Alt+c, and Alt+e -- are bound to
special characters. at some point i will try to think of hotkeys that don't conflict with anything,
but for now you can either:
- disable macos's special character shortcuts, as explained here: https://superuser.com/questions/941286/disable-default-option-key-binding
- rebind the loom hotkeys you want to use in the "Hotkeys" tab in settings
