Support moving notes in hierarchies #180
Replies: 3 comments 1 reply
-
Hi @benjaminbauer! Thanks for opening this. In terms of hierarchical note you can already do it in marksman (albeit using path separator Moving notes in the hierarchy could be done with rename refactoring. LSP already has hooks such as
You'd need to do 2 renames rather than one but at least this can be done in a standard LSP way without a bespoke integration. Marksman already has support for rename refactoring for headings and references, and I think it can be more or less easily extended to file names. Does this help? |
Beta Was this translation helpful? Give feedback.
-
Relevant issue #153 |
Beta Was this translation helpful? Give feedback.
-
I would also like to see this. I have multiple files with the same syntax. Marksman does not recognize it. For example, |
Beta Was this translation helpful? Give feedback.
-
I love the feature of lightweight hierarchical notes in dendron. Sadly dendron got abandoned my its maintainer and I am looking for a replacement.
In a nutshell: the filename of a note represents its hierarchy: e.g.
projects.private.pkm.marksman-evaluation.md
. Each hierarchy element may exist as an md file and have content itself and children. The big advantage: I do not have to create the whole hierarchy and I can freely move a note around in the hierarchy by renaming it.I am thinking about writing a CLI tool for doing the hierarchy refactoring (one of the great enablers for such hierarchies). The workflow is roughly:
Example:
I have the following notes:
projects.private.pkm-evaluation.marksman.md
projects.private.pkm-evaluation.marksman.helix-intergration.md
projects.private.pkm-evaluation.dendron-evaluation.md
tools.pkm.md
I want to move
marksman
to be a child oftools.pkm
.Target state:
tools.pkm.marksman.md
tools.pkm.marksman.helix-intergration.md
projects.private.pkm-evaluation.dendron-evaluation.md
tools.pkm.md
If I implement this as a separate CLI, I would have to copy or manually enter the note I want to move.
Is this a feature that could make it into marksman? Maybe as a (configurable?) refactoring option?
Beta Was this translation helpful? Give feedback.
All reactions