Automate Your Vault With Templater - How to Use Templater in Obsidian

Поділитися
Вставка

КОМЕНТАРІ • 183

  • @FromSergio
    @FromSergio  11 місяців тому

    Subscribe to my monthly newsletter: fromsergio.substack.com

  • @tranquiltones
    @tranquiltones Рік тому +16

    Oh my god- you RULE. I'm not a programmer & you're the only person that has been able to explain this process in plain english so that a non-programmer with zero coding skills can understand it. I've seen SOOO many other templater videos that are incomprehensible because the devs get lost in the sauce. Thank you so much for taking the time to do these videos on Obsidian. You are a very gifted teacher.

    • @FromSergio
      @FromSergio  Рік тому +2

      Thanks so much David! That's super inspiring to read :)

  • @grogotte
    @grogotte Місяць тому +1

    Excellent overview and explanation Sergio, thanks. I had been debating putting in the work to get Templater to automate some of my daily and weekly note tasks, and now I see that it won't be too complicated at all. Thanks!

  • @luccicorp
    @luccicorp 2 роки тому +11

    Wooow... i cannot thank you enough for this video. I have been searching for a more detailed explanation of certain things and you have greatly helped me with this video.
    I will take my time to go through all of your videos on obsidian. 🤝

    • @FromSergio
      @FromSergio  2 роки тому +1

      Thanks for the kind words! I hope you like them! :)

  • @mageprometheus
    @mageprometheus Рік тому +2

    Thanks, Sergio. These videos are great to watch to get a feel for the plugin and concepts before walking on the hot coals of the documentation.

  • @mpsmanger4713
    @mpsmanger4713 2 роки тому +28

    Yes, more advanced user scripts please. Thank you for the awesome content.

    • @FromSergio
      @FromSergio  2 роки тому +8

      Thanks for letting me know if there's interest i'll happily make it!

  • @miiteerune
    @miiteerune Рік тому

    Thank you so much! This is so easy to understand and very helpful.
    I'm waiting for more videos like this c:

  • @antinocr
    @antinocr 2 роки тому +2

    So good, very useful information Sergio. Many things I learn form your videos, thanks 🙌

    • @FromSergio
      @FromSergio  2 роки тому

      That's great to hear, I'm glad! :)

  • @laurap.5970
    @laurap.5970 2 роки тому

    Hey Sergio again, very significant on point content, thank you a lot. Definitely I would be pleased to see and advanced templater video. Thanks for your effort and contribution.

    • @FromSergio
      @FromSergio  2 роки тому +1

      Thanks Laura, it means a lot! Glad there's interest on a more advanced follow up :)

  • @maheshsanjaychivateres982
    @maheshsanjaychivateres982 2 роки тому +2

    Always great content. Keep making....
    keep inspiring to be more helpful to others.😀

  • @maurolimaok
    @maurolimaok Рік тому

    This thing is really useful. I will have to watch this video a couple times to get it.

  • @alphabeta8284
    @alphabeta8284 Рік тому

    Awesome vids man, plain and simple. God bless ya!

  • @ksoonsoon
    @ksoonsoon 2 роки тому

    Crazy great video. Going to watch many of your others now.

    • @FromSergio
      @FromSergio  2 роки тому

      You really did! Hope you’re enjoying them!

  • @DanCanning
    @DanCanning Рік тому +7

    Am I being stupid or missing something? Other than using undo, I cannot get back to the syntax to edit it after I have applied the template.

    • @ramyakannan7212
      @ramyakannan7212 4 місяці тому

      I was having the same issue, did you figure it out?

  • @KalebStolee
    @KalebStolee Рік тому +3

    For your default template, accidentally re-running your template (via the apply hotkey) will add the template again, possibly breaking your file. You can fix this by moving the closing } for the first if statement to below the last line. That way, it will only output the template if the title of the document starts with "Untitled" - otherwise you can press the hotkey as many times as you want and it won't do anything after the initial time, unless you change the name back to Untitled.
    Thank you so much for your content, though - I'm trying to get better at Obsidian, and your ideas and suggestions are amazing!

  • @blakenator123
    @blakenator123 Рік тому +3

    Thanks for your awesome videos. You are the first source I go to when I want to learn something Obsidian related.
    I have a question: the "last modified date" part of your default template is not dynamic, so do you manually change that each time you do some big modification to the file?
    I guess you could assign a hotkey to inserting a templater for current date/time and it wouldn't be too hard.

  • @Melpomenex
    @Melpomenex Рік тому +2

    Amazing video, thanks for making this.

  • @fahimabrarkhan368
    @fahimabrarkhan368 7 місяців тому

    This video helps me a lot. Thank you Sergio.

  • @harounlee208
    @harounlee208 Рік тому +1

    2:49 when you say "simple right " At this moment I feel the same emotion I did when I saw Jack Bauer killing president palmer's murderer

    • @FromSergio
      @FromSergio  Рік тому +1

      Wish I got that reference but I'm assuming it's a positive one!

  • @pamad05
    @pamad05 Рік тому +1

    Gah, the default scripts that blocks on a prompt when the title contains "untitled" fixed a frustration I had with dataviews being locked to the wrong file after renaming the file. Wasn't even trying to solve that issue right now, but this did it for me

  • @sanketss84
    @sanketss84 2 роки тому +1

    Thanks a lot this has been super helpful.

  • @victorzhang5639
    @victorzhang5639 Рік тому +2

    Thanks for the great video! Regarding your having to type both Cmd + N and Cmd + M to create a new note then apply the default template, I think there is a solution. In "Folder template" setting, assign the default template to the root directory "/". So all you need is "Cmd + N" to achieve what you are doing with 2 strokes. This does not conflict with other folder templates for more specific folders if you put this at the bottom of the list.

    • @FromSergio
      @FromSergio  Рік тому

      Interesting thanks for sharing!

  • @SteveJohnSteele
    @SteveJohnSteele 6 місяців тому

    I think you should have started with the 'folder templates' bit. For a newbie like me (who doesn't do journalling) that is the most useful. Great video.

  • @someonechoco6332
    @someonechoco6332 2 роки тому +1

    I love your videos! They're very easy to follow, so I would like to make a request: please, pleeeeease make a video on the heatmap plugin for obsidian! I would love to use it but I know absolutely nothing of coding (and my english is very basic so I didn't understand the forum entries about it either...) I really hope you see this comment and decide to do a video on this, if you have the time!

    • @FromSergio
      @FromSergio  2 роки тому +3

      Thanks so much for the kind words, it's funny you mention the heatmap plugin as I've had my eye on it (and bookmarked) since March of this year. I gave it a try around then and had some breaking bugs that led me to uninstall it but I kept it bookmarked to checkout once more development had been made. Just gave the repo a look and seems like some major fixes were done in version 2. And since its now in version 5 I assume it's a lot more stable. Will probably give it a try when I have time in late August. If I get it to work fine I'll happily make a video on it! Thanks for bringing this up and please always let me know of any suggestions you may have as I'd love to hear them! Have a great weekend!

  • @AtreyaRC
    @AtreyaRC Рік тому

    I grouped two plugins - templater and Note Refractor to help the automation further :D Thanks for the detailed video. More advanced scripts as well please :)

  • @soyelcharly
    @soyelcharly 2 роки тому +1

    Great stuff Sergio.
    Personal suggestion: Using the auto note mover filter to create rules to autolocate notes in folder according to the templates details that you use.

    • @FromSergio
      @FromSergio  2 роки тому

      Thanks for the suggestion, hadn't heard about that one! I'll give it a look :)

    • @AtreyaRC
      @AtreyaRC Рік тому

      Was thinking how cool it would be if auto move exists along with refactor and templater. Thanks :)

  • @PuchoWebSolutions
    @PuchoWebSolutions Рік тому

    Hello from New York City! In the default template, can tp.file.cursor be used to move input focus to the bottom of the page? Thank you for your informative video.

  • @victorzhang5639
    @victorzhang5639 Рік тому

    One question, after the default template is applied, the cursor lands at the beginning of the file name. I added tp.file.cursor(1) at the bottom of the script, but it still takes a `return` keystroke to take the cursor to the bottom of the note. Is there a way so the the cursor jumped directly to the bottom without additional keystrokes? thanks!

  • @TheSpazmus
    @TheSpazmus 9 місяців тому

    Thank you for the video. How did you do the star rating? Can you share?

  • @williambell4591
    @williambell4591 2 місяці тому

    This is a great video - thanks so much for getting me going with using Templates within Obsidian!
    The only thing I'm missing is how are you 'triggering' the date functions to put in the actual date/time data??
    I'm at the point where I'm going back and _updating_ existing files with the "normal" Date property in my notes, but closing/reopening the file doesn't trigger the date functions to update, and I'm not sure how to trigger them as you're doing here in your video?
    Any tips appreciated!

  • @douggottlieb
    @douggottlieb 6 місяців тому

    Great video! QUESTION: I’ve set up a variety of templates. I often am creating notes with new links that I want to both use and template that is not the default for the folder I’m in. For example, in my daily note, I might reference a person for the first time, and decide to make a CRM (person template) entry for him. Clicking the link will create the note, but not the template. And it won’t put the note into the people folder. Any suggestions? Is there a way to accomplish one or both objectives: create the new note from my link with the desired template and create it inside the appropriate folder? Thanks!!!

  • @MikeSW
    @MikeSW 8 місяців тому

    Is there any way to create a canvas-template and assign it - as well as a handful of file-templates - to populate a folder hiearchy that gets generated upon a single command?
    I have a handful of reoccuring project types that require quite a bit of set up before I can start working and I'd like to get rid of the time sink. - to just press "new project".

  • @live2pro
    @live2pro Рік тому +1

    Great tutorial

  • @johndunne3629
    @johndunne3629 Рік тому +3

    Hi Sergio, another great video! I have a tricky question I can't solve: if you use calendar to produce a daily note by clicking on a date, you can do this for any day in the past or the future, and the daily note can be given that date. But when you use the templater to retrieve yesterday or tomorrow daily note inside a link, it doesn't work for the daily note that you created. For example, if today is 10th October, and you use calendar to create a daily note that you missed for last week, 7th october. Then how do you automate the addition of a link inside that 7th October note for the note before or the daily note after it? Because if you use any formulas you show, it always gives 9th Oct and 11th Oct - e.g. relative to the current date.

    • @user-mk2lx3wo9h
      @user-mk2lx3wo9h Рік тому

      any advices how to made it working? I have the same.

  • @kristianndou6009
    @kristianndou6009 Рік тому

    Great tutorial Sergio, I'm trying to follow along but I'm stuck...
    When I try to create a new daily note not yet created by clicking through the link we just made with the script (Tomorrow link for example), it does create the note with the right path and title but it doesn't pull the Daily Note Template like clicking in the calendar does and it creates just an empty note.
    The only way is to create the the daily note through the calendar and then use the links just for navigation.
    Same thing happens for the week links, when I click it creates the note without the Week Note Template.
    Do you have any idea why in my case it doesn't work?

  • @strackx86
    @strackx86 Рік тому +1

    Hey Sergio, love your channel, have got a lot of useful tips that I-ve already implemented. Just wanted to ask you, what autocomplete/intellisense plugin are you using on this video? Cheers m8

    • @FromSergio
      @FromSergio  Рік тому

      What do you mean? Can you point me to a specific part of the video that you're referring to?

  • @caspar23
    @caspar23 Рік тому +2

    5 days into my Obsidian journey, I've learned a lot from your very informative videos - THANK YOU VERY MUCH and KEEP UP THE GOOD WORK :-)
    Is there a way that to auto-update the tp.file.folder() after having actived the YAML and moving the note to a different folder?
    It seems to keep holding the folder location of the folder in which the YAML was activated.

    • @FromSergio
      @FromSergio  Рік тому

      Thanks Caspar :) I'm not sure if there's a way around that, it's honestly been months since I've moved a note in between folders. But unless you need to do this either frequently or in large quantities, it shouldn't be too much to do manually!

  • @jcmaina
    @jcmaina 8 місяців тому

    Very helpful. How can I delete multiple notes within a range of dates. These notes contain dates created with templates

  • @qwertyqart
    @qwertyqart Рік тому

    how could you pull retrospective dates if you have more than one note in journal during that day?

  • @williammckeever4790
    @williammckeever4790 Рік тому

    This was extremely helpful sergio. I finally have a default template set up now. By the way, I just assigned it to the root folder, "/" which saves me the extra step of using a hotkey.

    • @FromSergio
      @FromSergio  Рік тому

      Well thought! Might adopt that myself :)

    • @williammckeever4790
      @williammckeever4790 Рік тому +1

      @@FromSergio Been playing with this some more and here is a tip you might like. I created one template (NewNote.md) and in that I created a pick list with tp.system.suggester that prompts me with a list of 4 template choices. Then in each of the 4 template files I add your prompt for the note name. So every time I create a new note in the root folder I first get a prompt for the template choice followed by the prompt for the new notes name. Works really well. I'll email the code to you as I can't insert all the brackets here.

    • @maheshNCC
      @maheshNCC Рік тому

      @@williammckeever4790 hi, can you please send me the code via email

  • @pavloshysh1332
    @pavloshysh1332 9 місяців тому +1

    How do you jumb back to templater editing? I used "Replace template in active file". How do I go back?

  • @alexisgareth
    @alexisgareth Рік тому

    Somehow I cannot cmd+o search the aliases from your default template, any opinion ?

  • @snakejuce
    @snakejuce Рік тому

    Why is it that for example when you create a new note that uses your default template, that the frontmatter is in YAML format?
    If we use dataview, is there a way to make it output in inline or dataview format (for example with the 2 colons)....Example: "tags:: sometag"
    I'm still a noob so I'm a bit confused on these things. Or is it just possible that if you make a table of contents for example that dataview can read the notes that have the YAML frontmatter?

  • @kennycampbell24
    @kennycampbell24 Рік тому

    Question: Let's say I want to create a template for "Person". Is there a way for me to have a field at the top of the Person template either in the YAML or somewhere else like "Name:" and then when I add the person's name like "Name: Tom Brady", everywhere in the note where exists it inserts "Tom Brady"?
    This function would have to be contained to just this note, because each "Person" note would be using a different person's name.

  • @fabiankut1216
    @fabiankut1216 Рік тому +1

    Hi Sergio, nice video!
    Just a question about your Default Template.
    I really like the idea of having the "Last modified" option in the YAML header, however, the time does not automatically update for me when I adjust the note.
    How does this work for you?

    • @listplaylist
      @listplaylist 7 місяців тому

      Hello I have the same problem, did you ever find a fix to this?

  • @marzadky4934
    @marzadky4934 Рік тому

    I would love smn to explain clearly the add and button maker plugin for windows. Nicole (found her name) explains it but it doesn't work on Windows. It keeps making a new folder the first time, the second time it makes a note and then it stops working when I try using it. I just need the automation done well

  • @patrickthomas3385
    @patrickthomas3385 Рік тому

    Say I have a link within a template that I want to always create a note in a specific folder, even if I haven't created that note. Is that possible?

  • @ahmaddaneshamooz3992
    @ahmaddaneshamooz3992 Місяць тому

    Hi thanks. When I move my file to another folder with template that show folder name, it didn't change the name. How can I fix it.

  • @SelinaMuellerFarrington
    @SelinaMuellerFarrington Рік тому

    Plz can someone let me know why when I press options R the R symbol comes up. On the hotkeys it is set to options R but it’s doing a symbol instead of reviewing it. TIA

  • @estring69
    @estring69 8 місяців тому

    First item of frustration. lol. Why I am here :) Thanks.

  • @mrfroes
    @mrfroes 2 роки тому +3

    Hey Sergio! It was a great explanation, I wish you had posted this videos a few months ago when I was getting started with Templater. 😄 Thank you for the video!
    I got one question for you, I have a very similar setup for the YAML header and the “last updated”/“last modified” script does not update, do you happen to know how do I get it to update?

    • @FromSergio
      @FromSergio  Рік тому

      Thanks for the kind words! Last updated/modified should update everytime you revisit the page, it doesn't, however, refresh automatically in the same page.

    • @manikmollers1050
      @manikmollers1050 Рік тому

      @@FromSergio Also thank you for your great content! Maybe I have to get deeper into this, but how would it update if you revisit if "Replace templates in the active file" is already executed? The only way I found was Dynamic Commands.

    • @marredcheese
      @marredcheese Рік тому +2

      ​@@manikmollers1050 Yeah, you are right, unless I'm missing something. It's surprising that both this video and the official documentation show that harmful example: a *non-dynamic* "file modified date." Why include meaningless/wrong data?

    • @Tiago211287
      @Tiago211287 Рік тому

      @@marredcheese It appears that they might deprecate the dynamic functionality. I saw in github. A solution is to add a dataview block in the template to get that information, but would not be in the yaml.
      ```

  • @Adityaa_A
    @Adityaa_A 7 місяців тому +1

    There is problem coming up, when i'm trying to use the command "replace templates in active file", it showing "templater error : template prasing error, aborting. Check console for more information."
    I'm using ipad, and have searched alot in the internet, wasnt able to solve this, if anyone can help, it would be a immense help

  • @manuelv.4684
    @manuelv.4684 Рік тому +1

    Big problem, need HELP plz: when I type Option+R on my MacOS 13, i get ® instead of it executing an assigned command. So operating system shortcuts overrides whatever an app has had in mind. Anyone knows how to deactivate OS special characters without deactivating the Option key entirely?

  • @HeyQuinton
    @HeyQuinton 2 роки тому +4

    Great stuff. Where does the quotes pull from? Can you also do it for a quote folder you’ve personally created?

    • @FromSergio
      @FromSergio  2 роки тому +1

      Quotes pull from quotable.io, as for your second question - I'm unsure of what you mean here. Normally if I come across a quote that really resonated with me I typically add it to that individual's page on my vault. Hope that helps!

    • @HeyQuinton
      @HeyQuinton 2 роки тому +1

      @@FromSergio Thanks for the response! For my second question, it was more so geared toward my own quote folder I have created (storing favourite quotes from readwise, the internet, kindle, etc.) generating the quotes instead of from quotable.

    • @FromSergio
      @FromSergio  2 роки тому +1

      @@HeyQuinton If I understand correctly, you want to generate quotes to a quote folder in your vault? . I'm assuming you'd want to have some sort of readwise type integration where you can sort of easily "save" the generated quote to the designated folder? If that's what you mean I don't think there's a way for doing that.

  • @GabrieleCannata
    @GabrieleCannata 2 роки тому +12

    I don't have Folder Templates in Tamplater Settings, are you on a preview version?

    • @FromSergio
      @FromSergio  2 роки тому +20

      Hi Gabriele, I should've mentioned this in the video - To see that option you must first toggle on "trigger templater on new file creation" on the templater plugin settings. I'm pinning your comment as others might have the same issue.

    • @GabrieleCannata
      @GabrieleCannata 2 роки тому

      @@FromSergio Thank you!

    • @sanketss84
      @sanketss84 2 роки тому

      thanks for asking this

    • @robertmullinslives
      @robertmullinslives Рік тому

      @@FromSergio Thank God!!! I was losing my freaking mind! LOL

  • @cathyxie
    @cathyxie Рік тому +1

    Hi Sergio, many thanks for your video! This is very helpful. I have a question about the hotkey to replace templates in the active file. The hotkey to do this for me is also option+R, but for some reason every time I press the hotkey it does not work as supposed. I am wondering if you have any ideas about how to deal with this? Many thanks for answering!

    • @FromSergio
      @FromSergio  Рік тому +1

      Hi Cathy, on the few times that has happened to me, pressing your hotkey with the cursor line at different positions (try both top and bottom of the page) tends to do the trick!

    • @Cadrieldur
      @Cadrieldur Рік тому

      Hello Cathy, I had the exact same problem. It worked after I used another combination.
      I know, it's been 2 months since you last posted this comment. But, it's also for anyone else who might come across this.

  • @shivaosu
    @shivaosu 2 роки тому +2

    excellent video. Thank you Sergio.
    Q: for your default template, is it possible to have the current date automatically included in the title within the title prompt?
    ex. "2022-07-27 ...." (then the title can be added after the date)

    • @FromSergio
      @FromSergio  2 роки тому

      Interesting, I have no use case for it so I never looked into it. It's definitely possible but I don't know off the top of my head how to make it happen. If someone else sees this and knows feel free to chime in :)

    • @Dalko9599
      @Dalko9599 Рік тому

      Hi! Please try this...
      Just add 'tp.date' after 'title = ' , use + to connect between syntax and " " for space.

    • @Dalko9599
      @Dalko9599 Рік тому

      Another way, you can use the "QuickAdd Plugin". So, you can adjust the file name format.

  • @themindfulinvestor
    @themindfulinvestor Рік тому +49

    The only problem with videos about note-taking is that you keep on endlessly taking notes about note-taking than actually get much done. It's also important to not get overwhelmed by all the tech complexity any of the note-taking platform offers and get going with taking real notes (and not just more keep taking notes about "how to take better notes")

    • @FromSergio
      @FromSergio  Рік тому +22

      100% agree. I do however think there is value in improving your workflow on the same app in a *meaningful* way, not just for the sake of experimenting something new, I actually addressed this in my latest video on the safety and future proofness of community plugins. Thanks for sharing!

    • @hugocast
      @hugocast Рік тому +6

      I agree. It takes a special degree of self awareness to realize that. Personally I like to document my workflow and look for ways of making it better with videos like this one instead of improving note taking for the sake of improving. I have lots of notes about podcasting, standup comedy, adhd, networking, tech careers and lots of other topics along with meetings, product strategy and funnel creation stuff. I’ve produced over 150 podcast episodes thanks to all the pkm fundamentals I’ve learned.
      PKM can be a hobby, but it’s important to remember that this is supposed to help us be better at whatever chosen profession we have.

    • @notdaz706
      @notdaz706 Рік тому +6

      I’m gone take a note on this

  • @bergekristian
    @bergekristian Рік тому

    How did you move the calendar to the bottom so that it is visible while having the tags panel etc open?

    • @FromSergio
      @FromSergio  Рік тому +1

      Just drag and drop the calendar icon from the mini tabs above the calendar into the desired location.

  • @Mark4Jesus
    @Mark4Jesus 6 місяців тому

    I read that moment is going away.

  • @jecabarbosa76
    @jecabarbosa76 Рік тому

    Thanks, Sergio! Could you give us a review on Joplin?

    • @FromSergio
      @FromSergio  Рік тому

      Hi Jeane, it's a great tool but I don't use Joplin as I believe Obsidian better fits my needs!

  • @SvetlozarKosev
    @SvetlozarKosev 10 місяців тому

    Does not update when a file is relocated ?

  • @maheshNCC
    @maheshNCC Рік тому

    issue:
    consider I have a scenario where I created today's daily note on May 1 but unexpectedly due to lack of time I could not able to create a daily note for Dec 31, 2022 because I got busy in new year celebrations.
    So now when I consider about creating
    missed daily note of Dec 31 on May 1 2023 with breadcrumbs having previous day and next day then the problem arises
    PROBLEM:
    the breadcrumbs take previous day and next day of May1,2023 i.e April 30 and May 2,
    but not actual previous day of Dec 31,202 i.e Dec30,2022 and next day Jan 1 2023 as I'm trying to create a missed daily note of Dec 31, 2022 on May 1, 2023
    Please let me know code for templater.
    thank you sergio.

  • @marredcheese
    @marredcheese Рік тому

    that Shaq quote deserved more love lol

    • @FromSergio
      @FromSergio  Рік тому

      I rewatched it to remember what it was! I've been served a bunch of his quotes lately, didn't even know he had any tbh!

  • @YassFuentes
    @YassFuentes 2 роки тому +1

    Hey, Serg, nice video. I like your templates. I think I should make mines simpler and cleaner. If the need of more features comes I change templates later.
    By the way, do you have any kind of fast pace voice note taking into obsidian by the mobile? I was struggling to git my Vault across devices, including Android. Now that is accomplished I'm searching for voice note taking workflow.
    Thanks a million!

    • @FromSergio
      @FromSergio  2 роки тому +1

      Hey Fuentes, thanks for the ongoing support :). So that would depend on what devices you'll be taking the notes on. I'm very familiar with the apple ecossystem as well as windows, unfortunately Android is my weak spot. You have 2 options here. You can either use standard voice dictation into your obsidian app, which is obviously not ideal, or you can use an intermediary app, which is what I do. This is still not ideal but the best I could find. Personally I dictate into my todoist widget either on the apple watch or iphone for short form dictation. When I want to do a longer dictation I use drafts. Which is an iOS app that has pretty decent dictation functionality. Then, once I'm back at my desk I open up drafts/todoist and place everything where it needs to be. Hopefully this helps!

    • @YassFuentes
      @YassFuentes 2 роки тому

      @@FromSergio thanks for the answer, man. I'll find a suitable manner. I need to test how voice recognition matches with mid short Spanish dictations, or if it is better to just attach voice files to the inbox in any way 🤔
      See you in the next video!

  • @timcoots
    @timcoots Рік тому +2

    I can "replace templates in the active file", but I can't seem to revert back to the formula. The update converts the formula to real numbers and there is no way to toggle back. Now ctrl-z (undo) works. But does not seem like the right way.

    • @FromSergio
      @FromSergio  Рік тому

      That's by design since that's templater's job!

    • @hagelslag9312
      @hagelslag9312 Рік тому

      I was having the same issue I was so confused how to toggle back. At least I now know ctrl+z does it's job :/

  • @DiasporicRanger
    @DiasporicRanger Рік тому +2

    How do you toggle the templater from being active and inactive ?

    • @FromSergio
      @FromSergio  Рік тому

      Are you referring to what I went over at 02:05?

    • @DiasporicRanger
      @DiasporicRanger Рік тому

      @@FromSergio yes, and thanks for the reference

  • @JJ95891
    @JJ95891 Рік тому

    Hi! can someone please help? I'm new to obsidian and I have made sure I copied it correctly. But it keeps saying . Templater Error: Template Parsing Error, aborting. Check console for more information. Thank you!

  • @mpsmanger4713
    @mpsmanger4713 2 роки тому +3

    Awesome video. However, I cannot seem to move the tp file note over into a folder on the left like you do at 8:21. When I try to move it into a folder , it does not place it inside the folder. It just copies the tp file inside the folder pane. Any ideas?

    • @FromSergio
      @FromSergio  2 роки тому

      I moved it simply by dragging and dropping the file in the file explorer on the left, I simply cut off the part before it so I didn't waste time! :)

    • @mpsmanger4713
      @mpsmanger4713 2 роки тому

      @@FromSergio Thank you for responding. I finally got it to move into the folder I want however, now the folder name line does not update after refreshing. I will continue to play with it. :)

    • @FromSergio
      @FromSergio  2 роки тому

      When this happens a quick fix tends to be to always press your refresh command 2 lines or so **below** the function. Let me know if it helped.

    • @mpsmanger4713
      @mpsmanger4713 2 роки тому

      @@FromSergio Got It. I moved the file outside of the folder then re inserted. Then, erased the file line and re copied and pasted , then Alt R and it works now. Thank you....

  • @forgetpwnow
    @forgetpwnow 4 місяці тому

    The thing is after I press alt +R, and it showed correct date, but I cannot switch back to original expression like you did in video

    • @listplaylist
      @listplaylist 4 місяці тому

      Press command z if you're on Mac or just go to obsidian settings and configure the "undo" hotkey

  • @maurolimaok
    @maurolimaok Рік тому

    Hi Sergio.
    I did like the "quote" use of Templater. I really am very bad in reading documentation, etc. so I will just pass the idea for you, OK?
    It would be nice if we could take quotes from an specific person like Thomas Sowell or Isaac Asimov.
    It should be just some add to the code.

  • @benoitjourdan
    @benoitjourdan Рік тому +1

    hey, what theme are you using ? great content btw

    • @FromSergio
      @FromSergio  Рік тому +1

      I've been using Kepano's minimal theme for a while now as it fits my needs perfectly :)

  • @jasonsmith5107
    @jasonsmith5107 3 місяці тому

    Would appreciate if you left 'My Default Template' in description as stated in video

  • @sanjaydesai438
    @sanjaydesai438 Рік тому

    Venerable Sergio, is there a way of copy-pasting the theme/core/community plug-in settings of vault to another? Say I'm working in a vault X. I've got it exactly as I want. Now I want to convert a folder into a vault. I have to "again" replicate install all my core/community plug-ins and their related settings. Can't I just copy paste from the main vault?

    • @FromSergio
      @FromSergio  Рік тому

      Hi Sanjay, there's a way around this and that's by accessing the root folder of your vault. if you go to the folder where your vault lives and press CMD + shift + period if you're on a Mac you'll be shown the hidden files. One of them is ".Obsidian" which is where your plugins and themes live. You can copy and paste them into your new vault and you're set!

    • @sanjaydesai438
      @sanjaydesai438 Рік тому

      @@FromSergio Worked like a charm. Gratitude Sir...

  • @tomer.nosrati
    @tomer.nosrati Рік тому +1

    17:26 Definitly make a deep dive video (Please 🙏 haha). As a programmer this can open up endless possibilities of using Obsidian as a DB and a View while programming the logic/etc. using Templater and other useful tools for Obsidian (without making your own plugin).
    I wonder how advanced is the prompt - can I create a small GUI app using it?
    I image it would cool if I can have a smart template, that asks me some stuff and based on my response, creates a new page ready with dataview tables for notes based on given input during the templater script handling / applying the template script (based on the function that took the title using an input dialog and injected it into the note).
    This can be like a small "app"/template that asks me what I want to find and generate a "report" / view / whatever that matches the logical idea I wanted.
    What do you think about this idea?

    • @FromSergio
      @FromSergio  Рік тому +1

      I think that although niche, it is a wonderful idea! I don't think there's an infrastructure for such a development for now and you'd have to build on dataview and templater. This would take a tremendous amount of work!

    • @tomer.nosrati
      @tomer.nosrati Рік тому

      @@FromSergio Maybe I should dive into making my own plugin then haha.. Thanks bro!

  • @annabarendt1598
    @annabarendt1598 Рік тому +1

    Can you have both templates and templater accessible at the same time? One month prior to this video, you created a video on templates. Do/can you still access that now that you have installed templater?

    • @FromSergio
      @FromSergio  Рік тому +2

      Hi Anna, I made the templates video simply because for a good number of people, templates provides all the functionality they need. For those that want more out of it like me, you can use templater :) They can work side by side as well!

    • @annabarendt1598
      @annabarendt1598 Рік тому

      Thank you for your prompt answer, It seems like in early 2021 it was one or the other, but not both.

  • @marekkrzysztofiak2583
    @marekkrzysztofiak2583 2 роки тому +1

    Did you ever face the problem that interface panels in obsidian become bizarrely enlarged and you can't reduce them?

    • @FromSergio
      @FromSergio  2 роки тому +1

      Hi Marek, I have not, if you're using a community theme make sure to alert the creator!

  • @tomer.nosrati
    @tomer.nosrati Рік тому

    I'm trying to apply some of your tips but I can't find the "Folder Templates" settings (13:06) on the latest version. Is it just me or was it removed?

    • @tomer.nosrati
      @tomer.nosrati Рік тому +2

      Found it - I guess I had to enable the "Trigger Templater on new file creation" first :)

    • @FromSergio
      @FromSergio  Рік тому +1

      yup! :)

  • @manfredpseudowengorz
    @manfredpseudowengorz Рік тому

    9:17 oh man... this one is a work of genius : a good old fashioned product placement, the Wayne's World style.

    • @FromSergio
      @FromSergio  Рік тому

      Isn't it? you could see my face I'm like nice... here I am showing a cool feature and this is what i get!

  • @sanjaydesai438
    @sanjaydesai438 Рік тому +1

    Sir 😮‍💨 Is there a command to number notes #1, #2, #3, .... So I can keep a count of them.

    • @FromSergio
      @FromSergio  Рік тому

      How so? I'm afraid I don't understand your question!

  • @vyacheslavboyko6114
    @vyacheslavboyko6114 Рік тому

    I can not exit the "replace templates in an active file" option ... the hot key is not switching it back😑

  • @goethert
    @goethert Рік тому

    At the very end of the video screen, why is the color of the time on 'created' and 'last modified' purple (20:28, 28 is purple)? And the time for 'created' and 'last modified' are the same, while even you did make some modification on the file. Thanks.

    • @FromSergio
      @FromSergio  Рік тому

      That's simply because I placed it in the yaml header and not in the body of the note!

    • @pakemilio
      @pakemilio Рік тому

      @@FromSergio I guess, therefore, there is no way to include a dynamic "Last modified date" in YAML - is that right? If this is the case, why do we include "Last modified date" in YAML?

  • @boole_cat
    @boole_cat 3 місяці тому

    please post the code of the basic template that is shown at the end!!

  • @ulfbjorn14
    @ulfbjorn14 3 місяці тому

    I know this is an older video, but was wondering. You've mentioned Evergreen like five times in this series. In this video, you said we wouldn't want the same template in our Movies, Evergreen, or Articles folders. Well...the question. What the heck is Evergreen? I don't even have any context to google up what it is.

  • @maheshsanjaychivateres982
    @maheshsanjaychivateres982 2 роки тому +2

    yes i want follow up video

    • @FromSergio
      @FromSergio  2 роки тому +1

      If there's interest i'll happily make it!

  • @lukajeliciclux3074
    @lukajeliciclux3074 2 роки тому +1

    I'm not using Templater yet but I think about it for doing some kind of AI News related templates.

    • @FromSergio
      @FromSergio  2 роки тому +1

      Interesting use case, feel free to expand on that!

  • @piet10000v
    @piet10000v Рік тому +2

    I still don't really understand what the benefit is of this plug-in ...

    • @jdcv17
      @jdcv17 Рік тому

      Mostly for people who do journaling, I guess? But Templater has more use. I'm still very much confused, though. LOL.

    • @piet10000v
      @piet10000v 9 місяців тому

      Yeah I see that but I just use Periodic notes and that's enough for me to just add a template there and manually add Quarterly or Yearly notes using the same templates

  • @jaydenpowell6861
    @jaydenpowell6861 7 місяців тому

    How the fuck can I use this to auto populate todays date in a task query

  • @retirementking
    @retirementking Рік тому +1

    Sergio > Shaq

  • @lotsa2000
    @lotsa2000 7 місяців тому

    hmm. Moment JS is deprecated and has been for some time.

  • @AdanT-bh9by
    @AdanT-bh9by 3 місяці тому

    As someone not familiar with the coding, i find the presentation less appealing. May be i am not the target. It would have been good to demonestrate some examples of useful outputs and the questions or queries it will answer, put links to sources of commonly used codes. And then proceed to the coding itself. Not always easy to remember the specific scripts.
    Again, may be people like me are not the target audiences.

  • @Travis-pl7uc
    @Travis-pl7uc 3 місяці тому +1

    Hey sergio. thanks for this. how do you pull the [[]] after you replace templates in the active file? like if i want to revert it back so i can edit it?

  • @tomaytto9407
    @tomaytto9407 2 роки тому +1

    This is a cool way of doing the next/previous day thing but it means you can create a daily file in the past or future and the links still go to the correct pages. Found in the github page you linked. Thanks!
    >

    • @FromSergio
      @FromSergio  2 роки тому +2

      I tried to stay away from moment on this video as I want to focus on that in a more advanced follow up one if there's interest. Thanks for taking the time to share :)

  • @usmcboyd
    @usmcboyd Рік тому +1

    I am having a templater error with the embedded javascript items. I'd appreciate any help. Here is the items in the note that I am trying to do
    >
    And here is the error.
    plugin:obsidian-kindle-plugin:16 Templater Error: Template parsing error, aborting.
    Template syntax error: Unexpected token '('
    In my template, I am not calling the kindle plugin so I am very confused.

  • @thekreport3270
    @thekreport3270 Рік тому

    how to you get rid of Cssclass
    dashboard
    Banner
    ![[mark-harpur-K2s_YE031CA-unsplash.jpg]]
    Banner_y
    0.5
    in read mode?