Vincent Ambo
d570fbbad3
chore(tools/emacs): Update window management configuration for frog
...
Change-Id: I848d4c1d58a81a66800f25459fee8f85d3f269f6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/64
Reviewed-by: tazjin <mail@tazj.in>
2020-06-11 23:20:46 +00:00
Vincent Ambo
524b621231
feat(tools/emacs): Configurable depot path, defaulting to /depot
2020-06-11 18:33:02 +01:00
Vincent Ambo
820f591cbb
chore(tools/emacs): Remove unused #'notmuch-depot-apply-patch
2020-06-11 18:32:38 +01:00
Vincent Ambo
3407baa756
fix(tools/emacs): Fix path to explain-pause-mode
2020-06-11 12:20:37 +01:00
Vincent Ambo
cc24097029
feat(3p/emacs): Check in derivation for explain-pause-mode
...
This mode makes it possible to track down slowness in Emacs functions
across the board.
https://github.com/lastquestion/explain-pause-mode
Very useful for some things I need to debug ...
2020-06-03 02:31:31 +01:00
Vincent Ambo
991cf97df2
feat(tools/emacs): Install and configure hound package at cs.tazj.in
2020-05-27 00:06:59 +01:00
Vincent Ambo
74a70896f2
feat(tools/emacs): Add vterm-send-ctrl-x function
...
This is useful if something accidentally opens nano.
2020-05-26 01:21:42 +01:00
Vincent Ambo
c08886ab82
fix(tools/emacs): Use explicit includes
2020-05-22 19:05:39 +01:00
Vincent Ambo
1086072d3d
feat(tools/emacs): Configure eglot to shut down automatically
...
When all buffers related to a specific eglot instance are gone, eglot
can shut down.
2020-05-19 14:23:59 +01:00
Vincent Ambo
a3894c2bf1
feat(tools/emacs): Install meson-mode
2020-05-17 23:59:00 +01:00
Vincent Ambo
d97cf260a2
refactor(tools/emacs): Move third-party overrides to //third_party
...
EXWM and vterm are overridden, but this shouldn't be happening outside
of //third_party
2020-05-16 04:08:28 +01:00
Vincent Ambo
a078cabc71
fix(tools/emacs): Configure xkb switching shortcuts on EXWM launch
...
This enables half of the shortcuts for switching keyboard languages
when EXWM launches.
The cyrillic ones are commented out because Emacs doesn't start
otherwise, I've no idea why and don't care at the moment.
2020-05-16 03:55:31 +01:00
Vincent Ambo
590e1e1048
feat(tools/emacs): Add screen layouts for nugget to EXWM config
2020-04-18 15:27:56 +01:00
Vincent Ambo
820b1bb0c9
feat(tools/emacs): Refactor monitor layout setup in EXWM
...
vauxhall (my laptop) now has an additional screen connected at home,
but sometimes I use that screen for my desktop computer (nugget).
This refactors the randr configuration for EXWM to support somewhat
more dynamic, multi-monitor layouts and adds key bindings to toggle
between some of the different configurations I want.
2020-04-17 13:13:59 +01:00
Vincent Ambo
afc729c419
feat(tools/emacs): Install polymode & protobuf-mode
...
... how did I not have protobuf-mode installed? What?
2020-04-06 23:19:52 +01:00
Vincent Ambo
e3864f3b85
feat(tools/emacs): Title the TVL window correctly
2020-04-04 22:27:06 +01:00
Vincent Ambo
e9aa5ae463
fix(tools/emacs): Include date in scrot screenshot names
2020-04-04 20:05:32 +01:00
Vincent Ambo
f99fc009fc
fix(tools/emacs): Fix notmuch-show-open-or-close-subthread
...
Accidentally dropped a key parameter, also restored interactive
functionality via prefix arguments..
2020-04-02 21:59:18 +01:00
Vincent Ambo
40d13cc87f
feat(tools/emacs): Bindings for (un)collapsing notmuch subthreads
...
Modifies notmuch-show-open-or-close-subthread to take a parameter
instead of using prefix to toggle the argument, and binds that
function to C-, and C-. in notmuch-show-mode-map to enable convenient
collapsing/uncollapsing of subthreads from point.
2020-04-02 01:35:16 +01:00
Vincent Ambo
5aaeaa406a
feat(tools/emacs): Implement 'notmuch-show-open-or-close-subthread'
...
Does what it says on the tin.
2020-04-01 22:28:23 +01:00
Vincent Ambo
049a13562c
feat(tools/emacs): Install eglot & dependencies
2020-03-29 22:31:32 +01:00
Vincent Ambo
8df1371b9d
chore(tools/emacs): Remove unimportant 'important' label from graph
2020-03-11 05:55:22 +00:00
Vincent Ambo
049709a7f3
fix(tools/emacs): Set correct file name format for org-journal
2020-03-09 01:07:32 +00:00
Vincent Ambo
9372f57659
feat(tools/emacs): Configure org-journal
...
Configures org-journal to store journal files on camden and encrypt
them to my GPG key.
Journal entries are weekly, with weeks starting Saturday (yes, there's
a reason for this).
2020-03-09 01:00:11 +00:00
Vincent Ambo
15ae7fadb8
fix(tools/emacs): Set scratch buffer to Emacs Lisp mode
...
This used to be the case, but it changed to lisp-interaction-mode at
some point which is incredibly annoying.
2020-03-09 00:16:18 +00:00
Vincent Ambo
067acdbcae
chore(tools/emacs): Configure all-tags list in notmuch-hello
...
I've been setting these options manually in my sessions for some
reason. Let's make it official!
2020-03-09 00:08:33 +00:00
Vincent Ambo
28ec16e618
feat(tools/emacs): Add a function to graph unread emails per label
...
This uses the built-in chart.el library to create a quick graph of the
number of unread emails in each notmuch tag. Some generic tags are
excluded from the overview.
2020-03-08 23:58:01 +00:00
Vincent Ambo
65e533431a
refactor: emacsPackagesNg -> emacsPackages
...
The former is now just an alias for the latter anyways.
2020-03-08 23:20:03 +00:00
Vincent Ambo
6cbcadc2e4
feat(tools/emacs): Install org-journal & org-ql
2020-03-08 23:16:44 +00:00
Vincent Ambo
4c0e565fe1
feat(tools/emacs): Install cmake-mode
2020-02-26 15:20:41 +00:00
Vincent Ambo
bbab6cd1c1
feat(tools/emacs): Use patched rcirc
2020-02-24 16:40:43 +00:00
Vincent Ambo
4bbbb58cb5
chore: Rename pkgs->depot in all Nix file headers
2020-02-21 13:54:53 +00:00
Vincent Ambo
ec42a67569
feat(tools/emacs): Bump EXWM to recent master
...
This version of EXWM fixes some issues with binding keys in EXWM as
well as other minor annoyances.
2020-02-07 12:41:43 +00:00
Vincent Ambo
c56968a767
feat(tools/emacs): Install ace-link
...
It now has vterm-mode support, which has finally convinced me to try it.
2020-02-05 11:58:57 +00:00
Vincent Ambo
a2d0b7f399
feat(emacs.d): Add interactive 'scrot-select' screenshot function
2020-01-26 19:13:59 +00:00
Vincent Ambo
fb5f26e548
feat(emacs.d): Add notmuch-depot-apply-patch helper function
...
This function lets me interactively apply a patch from the currently
opened notmuch message to the depot.
2020-01-24 18:51:13 +00:00
Vincent Ambo
98cc5f9fac
feat(emacs.d): Add key binding for counsel-notmuch
2020-01-22 17:26:11 +00:00
Vincent Ambo
0b3b8a07c4
feat(emacs): Install geiser for Guile
2020-01-19 19:35:27 +00:00
Vincent Ambo
f09c6a8ecd
feat(emacs.d): Switch font to JetBrains Mono
...
Lets evaluate this for a bit. With the current settings it even seems
to render _okay_ on nugget.
2020-01-19 16:39:21 +00:00
Vincent Ambo
3567f8bd0a
fix(emacs.d): Use "light" Input font on nugget
2020-01-19 02:27:54 +00:00
Vincent Ambo
815a224744
feat(emacs): Install lispy for evaluation
...
Not configuring this automatically yet, I mostly want to try it out.
2020-01-17 17:48:13 +00:00
Vincent Ambo
86c8275a53
fix(emacs.d): Load relevant modes for Lisp development in IELM
2020-01-17 16:52:17 +00:00
Vincent Ambo
bfd0bc2a79
feat(emacs.d): Configure Sly for Common Lisp
...
Sets up Lisp modes in Sly REPL and points at the local hyperspec
checkout.
In fact the Hyperspec bit should probably be managed by Nix, but one
step at a time.
2020-01-15 11:42:19 +01:00
Vincent Ambo
829de752da
fix(emacs.d): Trim superfluous whitespace from TODO comments
2020-01-11 23:23:46 +00:00
Vincent Ambo
cd0093d46e
fix(emacs): Minor typo fix
2020-01-08 00:32:56 +00:00
Vincent Ambo
9e2f86d65d
chore(emacs): Bump emacs-libvterm to a more recent version
2020-01-07 22:28:36 +00:00
Vincent Ambo
efc782fcdc
fix(emacs): Disable linking of imagemagick due to vterm crashes
...
See explanatory comment.
2020-01-07 22:28:17 +00:00
Vincent Ambo
1e71b80f6a
fix(emacs): Build emacs with imagemagick support
2020-01-05 17:37:01 +00:00
Vincent Ambo
b2cd30bfd4
chore(emacs.d): Remove edwina configuration
...
Sounds good, doesn't work.
(Okay, it does - but not like I want it to and with too many caveats
at the moment - maybe later)
2020-01-05 01:13:00 +00:00
Vincent Ambo
3638048c9b
fix(emacs.d): Use 'fish' from $PATH when launching vterms
...
This is required because the configuration is used on machines where
fish comes from Nix, and on ones where it does not.
2020-01-04 22:50:19 +00:00