Extract selected text into new notes and split notes. A maintained continuation of Note Refactor by James Lynch.
Extract selected text into new notes, and split notes, in Obsidian.
This is a continuation of Note Refactor by James Lynch. All of the design and nearly all of the code is his. The original stopped receiving updates in 2023, and this version exists only to keep it working on current versions of Obsidian. Behavior and settings are the same.
getActiveViewOfType(MarkdownView) in place of the deprecated workspace.activeLeaf.Notice for the "use edit mode" message (the original called the browser's Notification API).moment instead of shipping its own copy.author, minAppVersion).getAbstractFileByPath, Vault.process) instead of raw adapter reads and writes.createEl helpers; settings names are in sentence case.up, related and an ISO created date as properties.Cmd/Ctrl + Shift + R. No other command has a default hotkey; set your own under Settings → Hotkeys.Cmd/Ctrl + Shift + R)For full documentation of settings and templates, see the original README.
Created by James Lynch (@lynchjames). MIT licensed; the original copyright notice is kept in LICENSE.