-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply template to an existing file #850
Comments
I like the idea, and we could even use Foam mechanics to implement it in the following way:
|
(cc @movermeyer as he is our template expert) |
Thanks @riccardoferretti you got the idea :) |
I like the idea. @riccardoferretti If you use Then yeah, implicitly append |
My mental model for I am trying to map the scenarios where having both variables might be helpful, but I am finding it hard to think of one (except for serious hardcore-master-of-vim-like scenario). But I might be missing something, happy to hear other POVs. |
@riccardoferretti That's very reasonable. I agree that ideally we wouldn't bother with creating a new variable for this, and I agree that the use case for using both is a "serious hardcore-master-of-vim" use case that's not really worth worrying about / supporting. That said, I mentioned it since its a bit of an abuse of the definition of Perhaps the command could literally select all text in the editor before creating the new note, so the user gets a very brief visual cue as to what happened. |
I take from this that my mental model might not be clear to a user, fair point 😅 The approach of the brief selection for visual cue to the user could be interesting, definitely worth exploring. |
What is happening to the text not selected? |
Hi, i am migrating form obsidian to foam, and i feature i am missing is to be able to change a file using a template.
Examples: i am taking quick notes and i would like to apply a "meeting template" format later on.
basically it would be adding the template at the top of the file, so we don't have to create a new file from template and copy paste everything in it.
Thanks.
The text was updated successfully, but these errors were encountered: