1
0
Fork 0
Commit graph

976 commits

Author SHA1 Message Date
6185c26d51 [oni-core] Fix related files function 2023-03-30 22:28:24 -07:00
92173e5ef2 [oni-org] Fix keybinding 2023-03-30 22:28:02 -07:00
9ab5e206c5 [oni-org-roam] Enable ‘view-mode’ when showing list of books to read 2023-03-30 22:26:59 -07:00
9050edb896 [oni-org-roam] Only display unique references in the org-roam buffer 2023-03-30 22:26:41 -07:00
9c8457132b [oni-org-roam] Show entry tags in Node selection 2023-03-25 23:16:15 -07:00
f4204b42a7 [oni-org-roam] Improve the list of reading books, link the pages 2023-03-25 22:33:29 -07:00
3a3460b0d7 [oni-org-roam] Add command to pick a random book from toread list 2023-03-25 21:40:39 -07:00
94a7eeef18 [oni-org] Add keybinding to refile items to the top of a heading 2023-03-25 21:39:56 -07:00
b468287aa7 [oni-org] Don't truncate the text in the pomodoro overview
Instead specify a width for the column and shrink the table. This way it still
gets truncated, but it can be expanded and the whole text is in the column.
2023-03-20 22:57:50 -07:00
aec7aa6267 [oni-org] Fix ‘oni-org-pomodoro-times’ for when no logbook exists 2023-03-20 22:57:16 -07:00
af7ff9343a [oni-core] Fix function names 2023-03-20 22:28:06 -07:00
fb767b3994 [oni-org] Add new commands to manage my GTD inbox and tickler
These function help me make sure that I'm properly going through both files. The
command ‘oni-org-run-through-inbox’ will first dump any items in the tickler
file that are relevant for today and then it goes through each item in my inbox
and asks me to take an action on them.

This helps me both go through my inbox more easily, but also helps me keep track
of the items in my tickler file, which has been something I keep forgetting to
look at.

The ‘oni-org-dump-tickler’ command should be idempotent, so calling it multiple
times per day shouldn't mess with the different dates in the file. If it
discovers that the current day isn't the same as today it keeps going through
the tickler file, dumping any tasks it finds into the inbox, until it finds the
right day number. It's not aware of any of the months, so it'll happily move to
the next month if your tickler file is in the wrong state. Also if your tickler
file hasn't been updated in more than a month it also doesn't understand that it
needs to keep going and will keep presenting you with old tasks.
2023-03-14 01:41:07 -07:00
bd63867ddf [oni-elisp] Remove litable
It's a fun idea, but practically it makes things a lot slower in certain
situations and by default it has some weird concepts of what safe or pure
functions are.
2023-03-14 00:11:11 -07:00
e6e06eac0d feat(oni-elfeed): Add some more RSS feeds 2023-02-24 23:37:34 -08:00
d8ff9915ba feat(oni-git-commit): Refrain from refilling default commit comment
When I write a commit message there is always the default comment that lists
which files are to be committed, which files aren't staged for commit, and which
files are just entirely unknown to git at the moment. By default with
‘refill-mode’ turned on (which I have to make it easier to modify paragraphs
after I've written them) this comment usually gets all garbled by the refill
command.

This bit of code prevents the comment from being filled initially.
2023-02-24 23:34:20 -08:00
6dd72d5323 feat(oni-package): Add keybinding to directly open a package's URL
I frequently want to just open the URL of a package to see the readme and
possibly some screenshots. There doesn't appeart to be a built-in keybinding for
that.
2023-02-24 23:32:56 -08:00
b5b09921e3 feat(oni-org): Use the LCh color space to generate colors
Automatically generated colors for todo keywords and tags using an MD5 hash will
produce a completely random color, frequently not fitting well at all within my
chosen color theme. Using the LCh color space and keeping the L(uminance) and
C(hroma) constant will produce colors that fit together much metter, and the
values have been picked to work well with ‘yoshi-theme’.

This change was inspired by “Arbitrary Beautiful Colors”[1].

[1]: https://khanlou.com/2023/02/arbitrary-beautiful-colors/
2023-02-24 23:28:28 -08:00
d1ca3d7874 [oni-org] Add planned pomodoro note 2023-01-24 10:08:11 -08:00
6ef9c0d59b [oni-coree] Silence native compilation warnings 2023-01-24 10:05:31 -08:00
5d7b20598b [oni-core] Sort keybindings, add ace window keybindingss 2023-01-24 10:04:39 -08:00
37fe64b4d8 [oni-org] Add some Pomodoro[1] helper functions
- ‘oni-org-increment-property’: A generic command that increments a numeric org
  property

- ‘oni-org-pomodoro-add-note’: A command that adds a note to the org item
  logbook that states a pomodoro was completed.

- ‘oni-org-pomodoro-times’: A function that parses an org item logbook to figure
  out at what times a pomodoro had been completed for that particular task.

- ‘oni-org-pomodoro-times-for-date’: A function that finds the times a pomodoro
  has been marked as completed for a specified date.

- ‘oni-org-archive-old-tasks’: Unrelated to the other functions, just a command
  that archives all of the tasks that have been closed in the previous month.

[1]: https://francescocirillo.com/products/book-the-pomodoro-technique
2022-12-13 07:29:08 -08:00
ca8dc9d161 [oni-elisp] Add ‘litable-mode’[0] to Emacs Lisp buffers
[0]: https://github.com/Fuco1/litable
2022-12-13 07:18:17 -08:00
d0420ae5e3 [oni-core] Add related-files[1] to consult-buffer[2]
[1]: https://github.com/DamienCassou/related-files
[2]: https://github.com/minad/consult
2022-12-13 07:14:06 -08:00
5f7a6b8ddd Give some keybindings (hopefully) more descriptive names
This style of keybinding helps ‘which-key’[1] to display a better name for the
command.

[1]: https://github.com/justbur/emacs-which-key
2022-12-13 07:11:36 -08:00
244c2797b8 [oni-company] Use tab for either completion or indentation 2022-12-13 07:09:59 -08:00
8fb6beda45 [oni-browse-url] Open Mastodon URLs with mastodon.el if installed 2022-12-13 07:09:34 -08:00
cd94e63543 [oni-js] Remove ‘tern’ dependency 2022-12-04 07:37:16 -08:00
5b3dbb6cf1 [oni-eshell] Fix function reference 2022-12-04 07:36:54 -08:00
7f72a0a47e [oni-elfeed] Subscribe to specific wallpaper sizes on reddit 2022-11-22 23:31:17 -08:00
ce285a51d6 [oni-org-roam] Display org-roam buffer in side window 2022-11-22 23:14:44 -08:00
6793848975 [oni-core] Show a random tip in my initial scratch message
These tips come from “Pragmatic Thinking and Learning: Refactor Your Wetware” by
Andy Hunt[1]

[1]: https://pragprog.com/titles/ahptl/pragmatic-thinking-and-learning/
2022-11-13 23:04:21 -08:00
04be0ce1fe [oni-notmuch] Swap deleted and @me faces so deleted takes precedence
When I delete a message I don't want it to still be highlighted as a message for
me. The fact that I marked it for deletion is more important than that it's
addressed to me directly.
2022-11-13 17:06:22 -08:00
0401e08e65 [oni-org] Don't display blocked tasks in the agenda at all
I'm trying as much as I can to just only display what I can actually work on,
and by definition anything that is blocked I cannot.
2022-11-13 17:00:43 -08:00
aac81cc7a8 [oni-org] Enable Special C-k
See the documentation of ‘org-special-ctrl-k’ for what it does
2022-11-13 17:00:05 -08:00
8329141c43 [oni-notmuch] Show messages tagged @me specially 2022-11-13 16:59:24 -08:00
fac5c04ce5 [oni-core] Remove duplicate entries from history 2022-11-13 16:58:38 -08:00
0d12314877 [oni-bookmark] Automatically save my bookmarks when I change them 2022-11-13 16:58:03 -08:00
67c77bb277 [oni-core] Remove the dashboard package
I barely ever look at it.
2022-11-13 16:55:49 -08:00
8525e5e61c [oni-core] Remove agenda items from dashboard
I don't use the dashboard to see my tasks.
2022-11-08 23:30:12 -08:00
47593186ea [oni-core] Set some variables for the built-in ‘calendar’ package 2022-11-02 01:49:35 -07:00
601935c856 [oni-org] Fix exclusion of ‘journal.org’ 2022-10-26 23:35:48 -07:00
7342368178 [oni-org] Add functions to create and update a Pomodoro overview
This is meant to be used as a daily overview of the Pomodoro's that I've gone
through during the day. Should be put in my journal. For that reason, and
because I haven't figured out how to make it idempotent on days that aren't
today, I've added an exclusion of ‘journal.org’ to the
‘oni-org-update-all-dblocks-live’ function.
2022-10-25 23:18:55 -07:00
875e63d62a [oni-org] Allow project references to work with archived tasks
This commit fixes the issue that project tasks found in the archive of the org
file can't be accessed through the link that's been generated. This fixes that.
2022-10-19 22:52:45 -07:00
1d8734b275 [oni-eshell] Display Eshell in bottom window, not side window
A side window can't be made the only window, but a window at the bottom can.
2022-10-19 22:51:50 -07:00
1cebbcac5a [oni-elfeed] Add another RSS feed 2022-10-19 22:51:21 -07:00
1c9b256f78 [oni-org] Add icon for “config” tasks 2022-09-28 00:49:13 -07:00
073f83e8f9 [oni-org] Reduce the distance of the tags column
This will make top-level headlines still place their tags before the line ends.
2022-09-27 23:46:04 -07:00
8b71ddf093 [oni-groovy] Add ‘/’ as a pair for smartparens 2022-09-27 23:45:25 -07:00
81b630718c [oni-embrace] Add """ and ''' as pairs for Groovy 2022-09-27 23:44:48 -07:00
9c7baa6235 [oni-elfeed] Mark any paid LWN post as read
I can't read these anyway, so I might as well not see them.
2022-09-22 22:29:06 -07:00