Help file (move) the current paragraph, selected paragraphs, or heading and its section, to different notes. Please see details for more, err, details.
This plugin provides extra commands to help move or copy things around in NotePlan. It handles individual lines, or the currently selected text, or a 'block' of text (any indented text, including sub-tasks). Most allow you to do the filing/moving without having to lose your flow by switching to the other note.
It has some settings, which you review and change by clicking on the βοΈ gear button on the 'Filer' line in the Plugin Preferences panel (on macOS) or by running the '/Filer: update plugin settings' command (on iOS).
The /move paragraph command (aliased to /mp and /fp) quickly files (moves) lines to different notes in NotePlan, without having to lose your flow by switching to the other note. It works on any sort of lines, not just tasks.
It pops up the command bar to choose the note you want to move it to, followed by the heading within that note to move it after. Where possible it will visually highlight the lines it will be moving (on NotePlan v3.6.2+). You can press Escape (on Mac) at any time to cancel. The move happens in the background, leaving you in the current note.
It will move either the currently selected region (you don't need to select the whole of the first or last lines; the plugin will grab the whole lines), or just the current line the cursor is in, plus any indented ('children') lines that follow it.
NB: due to limitations in the API it's not yet possible to move items to a Calendar note that doesn't already exist. I intend to improve this when the API supports it.
This extends the first command, by also moving commands in the current paragraph 'block'. If the 'Include lines from start of Section in the Block?' setting is true, it takes the most recent heading and its following section, up to the next heading of the same level or higher, or the next horizontal line, or the start of the ## Done or ## Cancelled section. This means you don't have to move the cursor to the start of the section before you run it.
From v0.7.0, you can turn on 'Use a tighter definition of when a Block finishes?' in the settings, which will stop the section at the next blank line, as well as next heading of the same level or higher, or the next horizontal line, or the start of the ## Done or ## Cancelled section.
These 4 commands each moves lines to the current weekly note, using the same selection strategy as /mp (see above). The move happens in the background, leaving you in the flow in your current note. (Available with weekly notes from NotePlan v3.6.)
They could be mapped to shortcut keys to make using them even faster.
This command (alias /asc) adds a sync'd copy of the current line or selected block of lines to a section in another note. Here's a demo with two notes side by side, only to make it clearer:

If multiple lines are selected, then line is sync'd separately, but always to successive new lines in the chosen note's section.
There are 4 related commands that move or copy lines in calendar notes that include a [[note link]] to regular notes with that title:
For example, if you collect tasks and notes on 3 different main areas in your daily note, you might want to copy or move those to different 'progress log' notes at the end of each day:
(Thanks to @jord8on for the graphic which inspired this set of commands.)
In practice running /copy note links command on a daily note can implement:

There are a number of settings to make it useful for a variety of ways of organising your notes:
In the demo above, the daily note includes the date ("Tues 21/3") as part of the (sub)heading. As this is copied into the project log, it serves as an automatic index in that note. To add today's date in whatever style you wish is relatively simple using the date commands in the Templating plugin.
The /... (recently changed) versions of these commands operate on recently-changed calendar notes, not just the currently open one. To contol this there's an additional setting:
For example, this can be used to copy at the end of each day from the daily note a section with any completed tasks, and any notes that it contains, to a 'progress log' note. This can be run on demand, or could be automated through the following method ...
When you've set the settings as you wish, then you can run either of the "/... (recently changed)" commands from a Template using command "/np:execute" (or "/np:invoke" etc.):
<% await DataStore.invokePluginCommandByName("copy note links (recently changed)","jgclark.Filer",['{}']) %>
or, for the 'move' variant:
<% await DataStore.invokePluginCommandByName("move note links (recently changed)","jgclark.Filer",['{}']) %>
You can then have this run as part of your Daily Template processing. I suggest you set the 'recent days' setting to 3 or more, to cover periods where you don't or can't run the Template.
You can override your usual settings by passing extra parameters in the [...] above. Please see this plugin's plugin.json file to know what the settings are called.
You can also run from an x-callback call. At simplest this is:
noteplan://x-callback-url/runPlugin?pluginID=jgclark.Filer&command=move%20note%20links%20%28recently%20changed%29&arg0=
This command allows settings to be changed on iOS/iPadOS.
If you find an issue with this plugin, or would like to suggest new features for it, please raise a Bug or Feature 'Issue' in GitHub.
If you would like to support my late-night work extending NotePlan through writing these plugins, you can through:
Thanks!
Please see the CHANGELOG.