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
Vincent Ambo
41232a1c78
feat(emacs.d): Toggle email signature manually with C-c C-w
...
The signature itself is read from ~/.signature
2020-01-01 16:28:47 +01:00
Vincent Ambo
39131d9e0f
fix(emacs.d): Disable notmuch FCC directories
2019-12-30 22:19:56 +01:00
Vincent Ambo
100f451b0a
fix(dottime.el): Defer package-specific setup
2019-12-27 13:04:49 +01:00
Vincent Ambo
a54cc040ad
fix(emacs.d): Load dottime.el after libraries that it modifies
2019-12-27 12:54:12 +01:00
Vincent Ambo
b48797e4ce
chore(emacs.d): Remove explicit FCC dir for private account
...
No longer required because Gmail does this automatically.
2019-12-26 15:14:37 +01:00
Vincent Ambo
cf9dd380f3
chore(emacs.d): Remove GPG agent warmup from mail sending
...
Fetching credentials is no longer handled by msmtp itself.
2019-12-26 14:13:40 +01:00
Vincent Ambo
29af390e8c
fix(emacs.d): Slightly more reliable way of setting edwina prefix
2019-12-25 14:10:00 +01:00
Vincent Ambo
b59788779a
fix(emacs.d): Display newest emails first in notmuch
2019-12-25 14:09:42 +01:00
Vincent Ambo
4a0cf0de98
fix(emacs.d): Avoid advising split-window-* functions
...
Advising these functions apparently breaks things internally.
2019-12-24 18:43:52 +01:00
Vincent Ambo
637cb0bd2a
fix(emacs.d): Pick new buffers *into* the active window
...
Instead of splitting below and moving the target buffer into the new
split, split and move the buffer into the active window.
The other way around does (for some reason I don't fully understand)
not work because `split-window-below` may return invalid windows.
2019-12-24 18:15:30 +01:00
Vincent Ambo
ceaa0ff0ba
feat(emacs.d): Advise split-window-below to call edwina-arrange
2019-12-24 15:43:24 +01:00
Vincent Ambo
86c2ebc096
feat(emacs.d): Enable edwina package for window management
...
Configures edwina using `s-w` as the key prefix (in line with my other
EXWM-related commands).
An additional function is added that switches to a buffer (borrowing
the implementation from `ivy-switch-buffer`) but splitting it into a
new window instead.
2019-12-24 15:30:25 +01:00
Vincent Ambo
ccd31b8898
feat(emacs.d): Bind 's-g m' to notmuch UI
2019-12-23 16:05:05 +01:00
Vincent Ambo
f1c018af18
feat(emacs): Install edwina package
...
No configuration for this yet, I just want to try it out. It seems
like an interesting way of managing Emacs windows!
2019-12-22 14:30:28 +00:00
Vincent Ambo
da9dd45ebf
fix(emacs.d): Correctly restore default font size in randr-single
2019-12-20 12:37:16 +00:00
Vincent Ambo
90ebd154ca
feat(emacs.d): Add key binding for opening telega
2019-12-19 15:19:24 +00:00
Vincent Ambo
c1a5d7d62a
feat(emacs): Add telega.el support
...
Packages the telega-server binary and adds the required mode into
Emacs.
Unread message count is displayed in the modeline, which is neat.
Probably need to figure out some key bindings for this.
2019-12-19 14:48:22 +00:00
Vincent Ambo
166aff23bc
fix(nix-util): Correctly enable lexical scope in this library
2019-12-19 14:23:14 +00:00
Vincent Ambo
c2f97577f7
feat(emacs-pkgs): Introduce nix-util helper library
...
Adds an Emacs library with so far a grand total of one helper function
that can prefetch and insert a git repository at point.
This is very useful for the various Go repo imports I am doing at the
moment.
2019-12-19 01:40:27 +00:00
Vincent Ambo
a40c2474fe
feat(emacs.d): Set screen-specific default text scales
2019-12-17 17:48:13 +00:00
Vincent Ambo
be28071e56
feat(emacs.d): Add functions & bindings to manage global font size
...
This makes it possible to quickly adjust the size of text in all
frames using one keyboard shortcut. Each of these functions
understands a prefix argument to mean "please only operate on the
current buffer", hence the following bindings and effects:
Global:
* `C-=`: Increase the global font size (chosen because `+` lies on the
`=` key)
* `C--`: Decrease the global font size
* `C-x C-0`: Restore the global default font size
Local:
* `C-u C-=`: Increase the local font size
* `C-u C--`: Decrease the local font size
* `C-u C-x C-0`: Restore the local default font size
2019-12-17 17:48:13 +00:00
Vincent Ambo
caf23a9e2a
chore(emacs.d): Clean up unused functions
2019-12-17 12:33:15 +00:00
Vincent Ambo
940a9c580c
feat(emacs.d): Add function to insert TODO comments
2019-12-17 12:09:44 +00:00
Vincent Ambo
cc68e28514
chore(emacs.d): Include all git repos under ~/ in magit
2019-12-17 11:47:30 +00:00
Vincent Ambo
ef3e5072ef
fix(emacs.d): Fix regex passing in counsel-rg
2019-12-17 11:46:58 +00:00
Vincent Ambo
5727b6d24f
refactor(emacs.d): Move ivy configuration to use-package
2019-12-17 11:46:41 +00:00
Vincent Ambo
7965f3ba3a
fix(emacs.d): Disable C-x C-c
2019-12-17 00:45:30 +00:00
Vincent Ambo
3a719993fc
fix(emacs.d): Change binding for ivy-browse-repositories
...
This avoids a conflict with some work tooling.
2019-12-17 00:38:18 +00:00
Vincent Ambo
0b6365efe5
fix(emacs): withLocalEmacs
now loads packages via $EMACSLOADPATH
...
For some reason setting the initial load-path via `--directory` does
not work and leads to an Emacs without any packages.
2019-12-17 00:37:49 +00:00
Vincent Ambo
05168b9a3c
feat(emacs): Add 'withLocalEmacs' override function
...
This function makes it possible to build an Emacs instance that,
instead of launching an Emacs built by Nix, configures an Emacs
already present on the system to use the packages built by Nix.
This **requires** that the versions of the two Emacsen (i.e. the one
used by Nix to build and the one used to run the packages) are kept in
sync, otherwise byte-code incompatibilities may lead to undefined
behaviour.
2019-12-16 23:57:32 +00:00
Vincent Ambo
43f07099a7
feat(emacs): Install 'request.el', an HTTP client
2019-12-16 23:57:17 +00:00