pim layer
Table of Contents
Description
This layer is for personal information management (pim) and sets up the following:
notmuch
(Email)org
(Notes / Workflow)org-octopress
(Blog)org-journal
(Journal)
Install
1. Download layer
Add this repository to your spacemacs private folder as a submodule under the
folder pim
:
git submodule -b master add https://github.com/admiralakber/myOS-spacemacs-pim ~/.emacs.d/private/pim
2. IMPORTANT Customize / Configure
Edit =config.el= with your details.
3. Load layer
To use this configuration layer, add it to your ~/.spacemacs
. You will need
to add pim
to the existing dotspacemacs-configuration-layers
list in this
file.
Usage
This layer provides configuration for emacs to view / compose emails using notmuch-emacs. Sending, receiving and organising of these emails are done independently. Setting up in this manner provides fantastic speed, flexibility, and robustness.
For an example setup of email back end end see github.com/admiralakber/myOS-email
Journal
Org mode journaling is configured in org-pim and utilizes org-journal. Spacemacs like bindings are based off borgnix’s layer.
Prettier defaults (in my opinion) are configured in =config.el=.
You have no excuse, WRITE!
Global Bindings
Key Binding | Description |
---|---|
SPC a j j | new journal entry |
SPC a j s | search all journal for a string |
Major Mode Bindings
Key Binding | Description | |
---|---|---|
SPC m j j | new journal entry | |
SPC m j n | next journal file | - |
SPC m j p | previous journal file | |
SPC m j s | search the current journal file |
Calendar Mode Bindings
Key Binding | Description |
---|---|
J j | new journal entry |
J v | view an entry in a new buffer |
J V | view an entry but do not switch to it |
J n | go to next day with journal entries |
J p | go to previous day with journal entries |
J S | search in all entries of all time |
J w | search in all entries of the current week |
J m | search in all entries of the current month |
J y | search in all entries of the current year |
Blogging
Going from an org file to a blog post is made easy with org-octopress using jekyll to generate the blog.
How do I even?
If you don’t already have a blog, the easiest way to get started is with
Github Pages as it automatically compiles your page with jekyll. There are
plenty of tutorials on how to do this, the easiest way could even be looking
at other peoples <username>.github.io
repositories. This repository will be
your org-octopress-directory-top
variable defined in =config.el=.
Keep in mind, jekyll is very flexible. If you’re looking at other peoples
github.io
repositories, or following tutorials they might not be using org
files to generate _post
files. Once you’re at this point, see the
org-octopress documentation or this github.io for an example.