huytd / org-journal-list Goto Github PK
View Code? Open in Web Editor NEWA package to display a list of org-notes with preview.
License: BSD 2-Clause "Simplified" License
A package to display a list of org-notes with preview.
License: BSD 2-Clause "Simplified" License
org-journal-list ================ A package to display sidebar, showing a list of org-notes with preview. For a preview, please see [screenshot.png]. Installation ------------ You can install with use-package, from MELPA: (use-package org-journal-list :ensure t :config (setq org-journal-list-default-directory "~/notes/")) Or checkout the code and install it locally: (use-package org-journal-list :load-path "~/your/local/path/to/this/package" :config (setq org-journal-list-default-directory "~/notes/")) This will install org-journal-list and set ~/notes as a default journal directory. Configurations -------------- * Default directory: By default, it will be "~/notes/journal/". All of the *.org files in subdirectories will be listed as well. To change the default directory, you can change the org-journal-list-default-directory variable: (setq org-journal-list-default-directory "/your/custom/path/") Please note that, if you use "~" as $HOME folder in your path, the full path will be displayed when the file list displayed. To omit the default path, use "/Users/<your-name>/" instead of "~" for $HOME. * Default note suffix: When you open journal list with org-journal-list--start, the new note buffer will be created with the name "dd-mm-yyyy.journal.org", you can change the ".journal.org" part by changing org-journal-list-default-suffix variable: (setq org-journal-list-default-suffix ".org") But you can't change the "dd-mm-yyyy" part, this is intended to let you reopen the note of the same day at any point after the file created. If you have a different note-taking workflow, you can just change the new buffer creation behavior, see the next section. * Create empty buffer instead of a named one: By changing org-journal-list-create-temp-buffer to a non-nil value, you will have an empty org-mode buffer instead of a named one: (setq org-journal-list-create-temp-buffer t) The default directory when you save the buffer will be your journal default directory.
Currently the popular emacs package "org-journal" uses a naming convention of %Y%m%d (20190731) for entries. org-journal-list however defaults to %Y-%m%d.journal.org (2019-07-31.journal.org) and although the suffix (.journal.org) can be customized, the file name format can not be changed. If org-journal-list--start used a customize-able variable for the format of the journal entries, then the package would be compatible with org-journal. This would be a nice addition.
(defcustom org-journal-list-journal-file-base-name-format
"%Y%m%d"
"Default basename format for journal entries."
:type 'string)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.