Code Monkey home page Code Monkey logo

zettel-mode's Introduction

zettel-mode [name subject to change]

Note: Mostly superseded by zettel2. Left as a separate project because the featureset is very different.

An opinionated Emacs mode for Zettelkasten-style note-taking. Heavily inspired by org-roam, striving to be simpler, less dependent on the external state (like the auxiliary database of org-roam) and local only to the affected files (i.e. no global minor modes).

ASSUMPTIONS

Traditionally uses Deft as its "entry point" and was initially developed under an assumption the Deft files reside in ~/.deft/. It should work with any deft-directory but you'll need to customize auto-mode-alist accordingly. Using subdirectories isn't supported.

It's possible to have secondary Zettelkastens outside of ~/.deft/, or ignore Deft whatsoever by handling auto-mode-alist manually, for example:

;;; Any .org file inside a zettel/ or zettels/ directory.
(add-to-list 'auto-mode-alist '("/zettels?/[^/]+\\.org\\'" . zettel-mode))

(add-to-list 'auto-mode-alist '("/home/USER/my-zettelkasten/[^/]+\\.org\\'" . zettel-mode))

To prevent zettel-mode from associating with the Deft files, eval (setq zettel-mode-no-deft t) before loading zettel-mode.

FEATURES

  • Quick new note creation: select some text and press C-c C-l.
  • A sidebar with lists of references to and from the current file.
  • A fully optional reference and backreference cache (rebuilt with make(1)).

For the settings see the provided Customize menus.

SCRIPTS

In the scripts/ directory reside some helper scripts for common maintenance tasks for the notes. In general they work but they probably don't handle all the corner cases (like filenames with special characters). Each script has a brief description included as a comment.

FAQ

Q: Why it's not on MELPA?

A: I don't want to hoard such a generic name as zettel-mode and for now I don't have a better name for it either.

COPYRIGHT

Copyright (C) 2020 Wojciech Siewierski

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

zettel-mode's People

Contributors

syohex avatar vifon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.