1
0
Fork 0
Commit graph

928 commits

Author SHA1 Message Date
655ce45b2f [oni-core] Set ‘safe-local-variable-directories’
This is a new variable in Emacs 30 that lets me specify which directories can be
trusted with local variable values. (Or it should be, I haven't seen it
available yet.)
2023-09-11 21:07:32 -07:00
e2a8115ba8 [oni-core] Add command to copy the guix build hash
This is convenient when I'm writing Guix packages.
2023-09-11 21:05:41 -07:00
120bf9048f [oni-core] Add hydra to launch certain applications 2023-09-11 21:04:34 -07:00
e1c791f6fd [oni-org] Load agenda files from org roam 2023-09-11 21:03:54 -07:00
5391e2cb31 [oni-org] Clean up agenda category icon settings 2023-09-11 21:03:13 -07:00
0d95800422 [oni-projectile] Don't enable projectile-mode 2023-09-11 20:32:21 -07:00
d746c11739 [oni-org] Add a few extra category icons 2023-08-22 17:02:18 -07:00
6698c28e49 [oni-core] Remove mini-frame mode
It's a nice way to display the minibuffer, but sometimes all the text I'm typing
in just disappears.
2023-08-14 14:53:31 -07:00
2176f9319b [oni-ediff] Enable floating control frame 2023-08-09 13:14:01 -07:00
fd6c642a7e [oni-org] Add some extra structure templates 2023-08-06 00:28:04 -07:00
2225504a3f [oni-core] Enable so-long-mode for files with very long lines 2023-08-06 00:23:29 -07:00
96d0375ce6 [oni-core] Store clipboard contents into kill ring before replacing 2023-08-06 00:19:18 -07:00
867ec0200b [oni-core] Change the vertico keybindings to be a bit more ivy-like 2023-08-06 00:15:26 -07:00
d934aef413 [oni-core] Only show relevant commands for the current mode 2023-08-06 00:11:17 -07:00
e7acc034ee [oni-core] Make the minibuffer prompt intangible 2023-08-06 00:04:05 -07:00
4d525286b0 [oni-core] Add ‘orderless-initialism’ to ‘orderless-matching-styles’ 2023-08-05 23:58:20 -07:00
240cdb80cd [oni-org-roam] Don't automatically show the roam buffer 2023-08-05 23:39:17 -07:00
f934d1af0b [oni-gui] Enable ‘pixel-scroll-precision-mode’ when it's available 2023-08-05 23:38:18 -07:00
4260f75cbc Enable ‘variable-pitch-mode’ (again)
Now that I've added the ‘org-table’ face to ‘yoshi-theme’[1] I can enable the
mode again and not be bothered by misaligned tables.

[1]: https://git.sr.ht/~ryuslash/yoshi-theme
2023-08-01 11:03:32 -07:00
cff931be7e Speed up ‘oni-org-roam--books-to-read’
By doing more of the filtering in SQL rather than Emacs Lisp it got a bit
faster.
2023-08-01 11:02:56 -07:00
346f4598a5 [oni-org] Add a dynamic block for showing a Mastodon post as a quote 2023-07-28 12:05:49 -07:00
ff837f30df [oni-elfeed] Add a feed 2023-07-28 12:05:34 -07:00
072934a99e [oni-core] Disable previews for ‘consult-bookmark’ 2023-07-26 00:35:49 -07:00
e497aeccae [oni-circe] Disable sending tracking to polybar
I'm not using polybar anymore.
2023-07-26 00:35:27 -07:00
3ec56e9641 [oni-circe] Add another channel 2023-07-26 00:35:13 -07:00
b8c519dd2b [oni-project] Add configuration for ‘project’
This adds a magit option to the project switch commands so that I can view the
git status of a project right away.
2023-07-22 22:28:39 -07:00
be45505e65 [oni-notmuch] Update the way the sync output for notmuch is shown
- Show the output in a small window at the bottom of my screen.

- When the sync has completed successfully, close the output window.

- Automatically update the ‘*notmuch-hello*’ buffer when the process ends.
2023-07-20 22:27:41 -07:00
dceff7363a [oni-elfeed] Add news about Final Space 2023-07-18 23:07:57 -07:00
fe81a684b0 [oni-scheme] Disable the paredit newline keybindings in Geiser REPL 2023-07-18 21:21:46 -07:00
467160bbf8 [oni-elfeed] Keep an eye on my friend's bookmarks 2023-07-17 15:51:58 -07:00
09481bedbc [oni-circe] Add some IRC channels to lurk in 2023-07-17 15:51:42 -07:00
a0a47c84dc [oni-org] Add a yasnippet snippet for a todo item 2023-07-16 23:34:48 -07:00
833a01671a [oni-org] Add category icons for “blog” and “writing” 2023-07-16 23:34:32 -07:00
b64b381871 [oni-core] Remove unnecessary code
When Emacs is first started ‘treesit-extra-load-path’ is empty and any
‘(treesit-language-available-p ...)’ will return nil. But calling, for example,
‘bash-ts-mode’ will work if the package is installed in Guix and will fill the
variable.
2023-07-16 23:21:16 -07:00
6c97f13595 [oni-core] Add settings for tree-sitter
- Set the ‘treesit-extra-load-path’ to the value of ‘TREE_SITTER_GRAMMAR_PATH’.
  Emacs doesn't seem to do this automatically, but Guix sets that variable when
  grammars get installed.

- Add ‘bash-ts-mode’ to the ‘interpreter-mode-alist’. In his article[1] about
  tree sitter support in Emacs Mickey Petersen mentions that it's best to use
  ‘major-mode-remap-alist’, however in his example he remaps ‘bash-mode’ to
  ‘bash-ts-mode’, but there is no ‘bash-mode’. Setting the
  ‘interpreter-mode-alist’ like this still works.

[1]: https://www.masteringemacs.org/article/how-to-get-started-tree-sitter
2023-07-15 01:08:26 -07:00
23ff70c4ef [oni-hy] Add configuration for Hy mode 2023-07-14 00:26:17 -07:00
e38bb344e4 Remove the ‘defun’ snippet from ‘lisp-interaction-mode’
It always confuses me that it's defined in ‘lisp-interaction-mode’, but not in
‘emacs-lisp-mode’. ‘emacs-lisp-mode’ has the same basic snippet under the key
‘def’.
2023-07-12 23:28:12 -07:00
038c87bfea [oni-org] Add ob-async 2023-07-10 23:06:33 -07:00
03563a7544 Fix typo 2023-07-09 23:11:52 -07:00
dfc257cd8c [oni-core] Remove tips display from initial scratch message
This is now displayed on my Inkplate.
2023-07-08 00:39:38 -07:00
77b629bc53 [oni-org] Export “” as escaped html entities 2023-07-06 16:50:10 -07:00
de5e5ff047 [oni-core] Enable ‘isearch-lazy-count’ to show matches 2023-07-06 16:48:57 -07:00
748db4a4ee [oni-notmuch] Insert an extra section with a button to sync email
This section is meant to come right after the first “hello” section. The hooks
should be set up in pre-new and post-new to make sure that everything that needs
to run before and after works as expected.
2023-06-22 16:36:26 -07:00
af7cce50e8 [oni-sendmail] Add required version header
Without it the package isn't valid.
2023-06-21 22:42:37 -07:00
8a0cddac7c [oni-sendmail] Split my config to send email into separate package
I haven't been using Gnus for a while and have been using notmuch instead.
Having my email sending settings be a part of the gnus configuration makes it
impossible to send email without loading gnus.
2023-06-21 22:38:50 -07:00
9fe6381afd [oni-org] Get rid of any ‘(setf (map-elt ...) ...)’ occurrences
Right now this doesn't seem to work at all... It works fine when I evaluate this
using ‘eval-defun’ or ‘eval-last-sexp’, but when I try to byte-compile it
doesn't work.

I've added my own custom macro that expands to the same thing that
‘(setf (map-elt ...) ...)’ should. I have forgotten how to write macros properly
so I may have made some mistakes.

This should only be temporary until I figure out why this is happening... it
might just be that I'm using a version of Emacs built from a faulty commit.
2023-06-21 00:27:35 -07:00
c36f9ff2f7 [oni-grep] Enable ‘hl-line-mode’ in ‘grep-mode’
This makes it easier to see which line I'm looking at while going through the
hits.
2023-06-15 23:35:12 -07:00
de53fb6f1c [oni-core] Add key to insert lambda 2023-06-15 23:34:57 -07:00
dddc309e9e [oni-org] Only show snippet captures in ‘org-mode’
They don't currently make sense for anywhere else...
2023-06-13 23:46:41 -07:00
b874f09b9d [oni-org] Fontify quote and verse blocks specially 2023-06-13 23:45:56 -07:00