Skip to content
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

Disable default header #67

Closed
victorkristof opened this issue Sep 17, 2020 · 4 comments
Closed

Disable default header #67

victorkristof opened this issue Sep 17, 2020 · 4 comments

Comments

@victorkristof
Copy link

victorkristof commented Sep 17, 2020

Hi there,

Thanks for the awesome plugin!
I was wondering whether you could add an option to disable the default header?
I'd like to keep my notes rather simple.

Thank you!

[EDIT]: I found that this has already been mentioned is this issue!

@michal-h21
Copy link
Owner

This was on my plan, but never managed to do it. It is now possible to disable front matter using disable_front_matter option:

  let g:zettel_options = [{"template" :  "~/scratchbox/vimwiki/mdtemplate.tpl", "disable_front_matter": 1}]

@victorkristof
Copy link
Author

That's super nice!

One little catch, when disabling the front matter and using a template, the first line of a new note is blank.
The template gets pasted on the second line.

Easy to fix?

@michal-h21
Copy link
Owner

Yes, fortunately.

@victorkristof
Copy link
Author

Awesome, works perfectly! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants