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

[Announcements] New features and changes #81

Open
EFLS opened this issue Sep 20, 2020 · 16 comments
Open

[Announcements] New features and changes #81

EFLS opened this issue Sep 20, 2020 · 16 comments

Comments

@EFLS
Copy link
Owner

EFLS commented Sep 20, 2020

To announce new features and major changes to the community (whoever that might be) without maintaining a blog, I will use this space here. Subscribe to notifications to keep up to date.

Feel free to leave comments when they are relevant, but for bugs and suggestions, please open a separate issue.

@EFLS
Copy link
Owner Author

EFLS commented Sep 20, 2020

To quickly return to a base note, I added a zetteldeft-go-home function. More information can be found in this note in the zd-tutorial knowledge base.

@EFLS EFLS pinned this issue Sep 20, 2020
@EFLS
Copy link
Owner Author

EFLS commented Sep 22, 2020

A new function, zetteldeft-backlink-add allows you quickly include a backlink at the top of the note (with customizable zetteldeft-backlink-prefix). More info here

@EFLS
Copy link
Owner Author

EFLS commented Oct 7, 2020

Two new features:

@EFLS
Copy link
Owner Author

EFLS commented Nov 26, 2020

Another function for convenience: with zetteldeft-tag-search (C-c d /) you can interactively pick a tag to search for.

@EFLS
Copy link
Owner Author

EFLS commented Dec 2, 2020

New function: hit C-c d .' to call zetteldeft-browse' and easily browse your notes by entering a "follow link loop". Select a link to follow with Avy, similar to zetteldeft-follow-link' but in repeat. Exit the loop with ESC' or `C-g'.

I use it in combination with `zetteldeft-go-home' to go to my base note, and browse the topics in my Zettelkasten from there.

@EFLS
Copy link
Owner Author

EFLS commented Mar 29, 2021

New function: easily insert tags.

To quickly insert a tag, use zetteldeft-tag-insert: it will prompt for a tag to be added at the end of the first line that starts with zetteldeft-tag-line-prefix (which is # Tags by default).
If, however, this variable is set to nil, tags will be inserted at point.

Want to insert a tag at point even with zetteldeft-tag-line-prefix configured? Use zetteldeft-tag-insert-at-point.

Thanks to @puzan for providing the basis for this new feature!

@EFLS
Copy link
Owner Author

EFLS commented Apr 6, 2021

Customize the behaviour of zetteldeft-follow-link: when called with point at a link, should the link be followed or Avy be called?

By default, a link under point is followed, but by setting the new customizable variable zetteldeft-follow-at-point to nil, this can be changed so that avy is always called to select a visible link in the buffer.

@EFLS
Copy link
Owner Author

EFLS commented Apr 9, 2021

A small update aimed at user convenience.

When launching a Zetteldeft search (for example for a tag, or to check which notes link to the current note), a Deft buffer is shown with the results. To prevent that the Deft buffer is shown in multiple windows, we now first switch to the relevant window if the Deft buffer is already visible somewhere.

@EFLS
Copy link
Owner Author

EFLS commented May 13, 2021

There's a new customization option to configure whether the filename of a new note should be added to the kill ring: zetteldeft-new-filename-to-kill-ring. Set to nil by default (so a change from Zetteldeft behaviour previously, but still configurable).

@EFLS
Copy link
Owner Author

EFLS commented May 16, 2021

To customize how Zetteldeft inserts a link, there is now the zetteldeft-insert-link-function variable.
This is particularly convenient for those who prefer Org-style links. Check out its documentation for more details.

@EFLS
Copy link
Owner Author

EFLS commented May 16, 2021

New function to easily remove a tag from the current note: zetteldeft-tag-remove (default keybinding C-c d $). Select a currently used tag from the list, and the tag will be removed from the current note (or at least the first time it appears in the note).

@EFLS
Copy link
Owner Author

EFLS commented May 20, 2021

New function to quickly create a new note starting from a region. With the region highlighted, call zetteldeft-extract-region-to-note and enter a title. The region will be replaced with a link to the new note. Thanks to @Sodaware for the new feature!

@EFLS
Copy link
Owner Author

EFLS commented Jul 13, 2021

Remember backlinks? They are now inserted in a smarter location, which is the line below whichever is found first:

  • existing backlink
  • tag line
  • title
  • at top of file

Even better, you can customize this further if you want, via zetteldeft-backlink-location-function.

Now also briefly mentioned in the zd-tutorial

@EFLS
Copy link
Owner Author

EFLS commented Aug 1, 2021

Including a list of links to notes with a specific search term (such as a tag) and updating such a list via an Org source block, is something I've been doing in my private setup for some time. Now it is part of Zetteldeft.

Insert such a source block via zetteldeft-insert-list-links-block. Default key is C-c d L.

More info in the zd-tutorial.

@EFLS
Copy link
Owner Author

EFLS commented Sep 21, 2022

New feature: automated list of links with Dynamic Blocks. From the documentation in zetteldeft.org:

Org-mode provides Dynamic Blocks, which can programmatically update their contents.
Let's create a Dynamic Block called zetteldeft-links.

It will look like this:

#+BEGIN: zetteldeft-links :search "#zd-tutorial"

#+END:

When activated (via C-c C-c), the contents between #+BEGIN: and #+END: will be replaced by the search results provided with :search "<string>".

Additional options are

  • :sort t to sort the results (with most recent note at the top)
  • :missing-only t to only include missing links

Use zetteldeft-org-dblock-insert-links to create such a dynamic block, or do so via org-dynamic-block-insert-dblock.

Now in the zd-tutorial

@EFLS
Copy link
Owner Author

EFLS commented Mar 17, 2023

I should mention here what I've added to the README: Zetteldeft is no longer under active development, for the simple reason that I'm exploring note-taking based on Denote rather than on Deft (although these aren't mutually exclusive).

This package will remain available as code here and via MELPA, and I think it is still fully functional. But there won't be any more additions to it.

For the past few months, I've been converting my own set of notes and exploring how to achieve many of the Zetteldeft features in Denote.

Feel free to leave a comment (or reach out via e-mail or Mastodon) if you'd like to get in touch to discuss switching from Zetteldeft to Denote.

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

No branches or pull requests

1 participant