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

Feature Request: No YAML Frontmatter #90

Open
justinmoon opened this issue Jan 9, 2021 · 2 comments
Open

Feature Request: No YAML Frontmatter #90

justinmoon opened this issue Jan 9, 2021 · 2 comments

Comments

@justinmoon
Copy link

It would be nice if I could remove the YAML frontmatter in notes and have vim-zettel treat a # heading on the first line as a title. In particular, I think this might make searching a little easier because the title sections are kind of visually noisy.

@xmalbertox
Copy link

This is already possible, implemented after issue #67, just add disable_font_matter=1 to your zettel_options, e.g.:

let g:zettel_options = [{"disable_font_matter": 1}]

@michal-h21
Copy link
Owner

As @xmalbertox said, you can disable front matter by setting disable_front_matter option:

 let g:zettel_options = [{"disable_front_matter": 1}]

The command that detects title now also supports the first header, so there is no need to use the YAML frontmatter if you don't want to.

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

3 participants