2023-02-27 09:34:28 +00:00
|
|
|
[loom](https://github.com/socketteer/loom) in obsidian
|
2023-02-26 02:44:25 +00:00
|
|
|
|
2023-02-26 02:49:22 +00:00
|
|
|
default hotkeys:
|
2023-02-26 02:44:25 +00:00
|
|
|
- `Ctrl+Space` - complete
|
2023-03-08 05:04:46 +00:00
|
|
|
- `Ctrl+Alt+n` - create child
|
2023-03-11 23:36:42 +00:00
|
|
|
- `Alt+n` - create sibling
|
|
|
|
|
- `Alt+c` - split in-range node at caret (<- this is poorly explained but useful! try it!)
|
|
|
|
|
- `Ctrl+Alt+c` - clone current node
|
|
|
|
|
- `Alt+Backspace` - delete current node
|
2023-02-26 02:44:25 +00:00
|
|
|
- `Alt+Down` - switch to next sibling
|
|
|
|
|
- `Alt+Up` - switch to previous sibling
|
|
|
|
|
- `Alt+Left` - switch to parent
|
|
|
|
|
- `Alt+Right` - switch to (most recently visited) child
|
2023-03-08 05:04:46 +00:00
|
|
|
- `Alt+e` - collapse/expand current node
|
2023-02-26 02:49:22 +00:00
|
|
|
|
2023-03-09 04:34:09 +00:00
|
|
|
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
|
|
|
|
|
|
2023-03-12 02:44:18 +00:00
|
|
|
buttons shown when hovering over a node in the loom pane:
|
|
|
|
|
- hoist (only show this node and its children)
|
|
|
|
|
- create sibling
|
|
|
|
|
- create child
|
|
|
|
|
- delete
|
|
|
|
|
|
2023-02-26 02:49:22 +00:00
|
|
|
to install, clone this repository into a directory in `[vault]/.obsidian/plugins`.
|
2023-02-26 08:03:19 +00:00
|
|
|
in the plugin directory, run `npm i` and `npm run build`. you will need node.js 14 or higher.
|
2023-02-26 02:49:22 +00:00
|
|
|
enable the plugin and set the openai api key in the `Loom` settings tab
|
2023-02-26 08:03:19 +00:00
|
|
|
|
2023-03-08 00:02:59 +00:00
|
|
|
**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:
|
|
|
|
|
|
|
|
|
|
1. open the command palette with `Ctrl+P`, then search for and run the "open loom pane" command
|
|
|
|
|
2. open the right sidebar -- there is a toggle in the top right of the screen -- and switch to
|
|
|
|
|
the loom tab*
|
|
|
|
|
|
2023-03-08 00:07:25 +00:00
|
|
|
*the tab looks like this:
|
|
|
|
|

|
2023-03-12 02:38:44 +00:00
|
|
|
|
|
|
|
|
**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:
|
|
|
|
|
|
|
|
|
|
1. disable macos's special character shortcuts, as explained here: https://superuser.com/questions/941286/disable-default-option-key-binding
|
|
|
|
|
2. rebind the loom hotkeys you want to use in the "Hotkeys" tab in settings
|