I think it would be useful to have to have a function in wiki.vim similar to org-refile in Emacs' org-mode. The way it would work is as follows. If we e.g. have a MarkDown file like this:
# Inbox
## Foo
Random text here.
## Bar
More random text here.
### Subheading
More here.
# Tasks
## Baz
Even more random text here.
# Someday
## Qux
More text.
Then having the cursor in the subsection "Bar" and activating a "refile" function should give a fuzzy-search popup similar to WikiFzfToc, that lets you pick a different heading (e.g. "Tasks"). When you do that, you should get something like this:
# Inbox
## Foo
Random text here.
# Tasks
## Baz
Even more random text here.
## Bar
More random text here.
### Subheading
More here.
# Someday
## Qux
More text.
This is particularly useful for GTD-type workflows, for moving tasks between headings efficiently. But it can also be useful for working with structured notes in general, as it makes it easy to "refactor" notes.
Just being able to refile between same-level headings (e.g. moving "Foo" from "Inbox" to "Tasks" or "Someday" in the example above) would already be very useful. Org-mode refiling also supports refiling between multiple files (so that you can let the Inbox and Someday be different note files instead of different headings), and refiling between different levels (e.g. moving Bar inside Qux, in which case ## Bar becomes ### Bar and ### Subheading becomes #### Subheading).
I think it would be useful to have to have a function in
wiki.vimsimilar toorg-refilein Emacs'org-mode. The way it would work is as follows. If we e.g. have a MarkDown file like this:Then having the cursor in the subsection "Bar" and activating a "refile" function should give a fuzzy-search popup similar to
WikiFzfToc, that lets you pick a different heading (e.g. "Tasks"). When you do that, you should get something like this:This is particularly useful for GTD-type workflows, for moving tasks between headings efficiently. But it can also be useful for working with structured notes in general, as it makes it easy to "refactor" notes.
Just being able to refile between same-level headings (e.g. moving "Foo" from "Inbox" to "Tasks" or "Someday" in the example above) would already be very useful. Org-mode refiling also supports refiling between multiple files (so that you can let the
InboxandSomedaybe different note files instead of different headings), and refiling between different levels (e.g. movingBarinsideQux, in which case## Barbecomes### Barand### Subheadingbecomes#### Subheading).