This is a plugin for Obsidian (https://obsidian.md) that lets you move text from one place to another place. Pretty simple stuff.
Text Mover uses Obsidian's built-in Daily Notes settings for the date format, folder, and template. The Daily Notes core plugin must be enabled to use daily-note commands.
When a daily note does not exist yet, Text Mover creates it using the folder, date format, and template configured in Obsidian's Daily Notes settings. If the destination note has headings, you can choose a heading; otherwise, the text is added to the note.
The new command will appear in the command palette. You can remove it from the same settings page.
Download main.js and manifest.json from a release and place them in your
vault at:
<Vault>/.obsidian/plugins/text-mover/
Restart or reload Obsidian, then enable Text Mover under Settings → Community plugins. For local development, build the plugin as described below and copy the generated files into this folder.
Contributions, bug reports, and feature suggestions are welcome. For code changes:
Fork the repository and create a branch for your change.
Install dependencies with npm install (Node.js 18 or newer is recommended).
Make your changes in src/. Run npm run dev to rebuild main.js
automatically while developing.
Run the checks before opening a pull request:
npm test
npm run lint
npm run build
Test the behavior in Obsidian where practical, then open a pull request describing the change and any relevant testing.
main.js is generated by the build and should not be committed. Keep changes
focused, and add or update tests when changing behavior.
| Command | Description |
|---|---|
npm install |
Install development dependencies. |
npm run dev |
Build in watch mode for development. |
npm run build |
Type-check and create a production build. |
npm test |
Run the test suite once. |
npm run test:watch |
Run tests in watch mode. |
npm run lint |
Lint the project. |
manifest.json and the minimum supported Obsidian
version if needed.versions.json.npm run build.manifest.json (without a v prefix), and attach manifest.json and the
generated main.js.The npm version patch, npm version minor, or npm version major commands
can be used to bump the version; this repository's version script updates the
manifest and versions.json.