her.esy.fun/src/drafts/XXXX-org-mode-intro/index.org

4.4 KiB

How I use org-mode

In this article I'll try to give an overview of my current use of org mode. I use org mode for:

  • tasks management & tracking
  • writing documents (articles, book, etc…)
  • note taking ; which I consider slightly different from just writing documents

It took me a few month to discover a few great org-mode features that really changed the way I looked at it. After discovering those it is a real life changer.

I hope that I could help you discover why org mode is so praised and be able to take advantage of its awesomeness faster than I did.

Workflows

Worfklow 1: See Things to do: org-agenda + clock

  1. look at the current tasks planned for today
  2. select a task, clock it
  3. work on the task
  4. back to the task and clock it out.

I work most of my using emacs1. Generally the first thing I do in the morning is opening `org-calendar`. It looks like this:

/yogsototh/her.esy.fun/media/commit/1807b1e8b8fdf1281b79d112d64c6528e558e2e6/src/drafts/XXXX-org-mode-intro/img/org-super-agenda.png

Pretty brutalist interface which is a great thing to me. Distraction free interface going to the essential.

With this view, I see what I planned to do today. I also see a few "Due Soon" tasks in case I have the time to handle those.

When I start working on a task I start a clock on it (I simply type I when my cursor is on the TODO line) When I finished some task I change its stats from TODO to something else. Mainly I'm prompted when doing so:

{ [t] TODO   [p] IN-PROGRESS   [h] HOLD   [w] WAITING
  [d] DONE   [c] CANCELLED     [l] HANDLED }

Workflow 2: org-capture/org-refile

But quite often I don't know what the tasks for the day will be. Very often, I need to work on things I couldn't plan. There can be interruptions, or new tasks requiring my attention during the day.

In that case I use org-capture along org-refile. Mainly org-capture helps you create a new TODO entry. And org-refile will help you move that TODO entry to the correct place.

So let say I get a DM in the chat asking me to do something. I generally start org capture (for me it's SPC X). I am presented with the following choice:

Select a capture template
=========================

[t] todo
[c] chat
[e] email
[m] meeting
[p] pause
[r] review
[w] work
[i] interruption
[f] chore
---------------------------------------------------------------------------
[q] Abort

I then type the letter of the kind of tasks I'd like to create. If I select t I have a simple TODO:

Footnotes


1

Short digression: Historically, I coded using different IDEs. Then I worked for a company that forced me to use terrible keyboards and after just a few weeks I started to have serious wrist issues. So to minimize that pain I switched to vim. And it was awesome. Once you're use to the power of vim keybinding forever your soul will bound to them. So learning vim is a bit like learning a new music instrument. You need to construct some muscle memory and integrate one after one new tricks. Once learned your personal editing power start to become overwhelming.

After a few years of vim, I wanted to try to explore new editor tooling. So I switched to emacs using the spacemacs distribution. So mainly it's vim but with even better keybindgs, helpers and within emacs. The main reason for the switch was that vimscript is a really bad language to configure your editor. Emacs use emacs-LISP. For editor customization a LISP looked perfect to me. LISP is still one of the most powerful and easy to use programming language to date.

And recently, as my personal configuration started to grow so much I switched to doom-emacs. I was quite hesitant to do the switch but so far its been a pleasure. IMHO using doom-emacs is a lot better than using my own personal configuration from scratch because I wouldn't be able to end up with so much configuration quality.