summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-02-28 21:54:53 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-02-28 21:54:53 +0100
commita459c4c99129244e26c0902211b9bdc6a1c633cf (patch)
tree711b0d93818e267f51103078e34c62b1cfb1d025
parent60f2dba554a15400ed541c39dae4154111b3f4c6 (diff)
Use Activities.HEADmaster
-rw-r--r--init.org23
1 files changed, 23 insertions, 0 deletions
diff --git a/init.org b/init.org
index 7600432..5f95aa5 100644
--- a/init.org
+++ b/init.org
@@ -1152,6 +1152,29 @@ Side windows cannot be navigated, so we need another mechanism to close them all
(global-set-key (kbd "C-x x") 'window-toggle-side-windows)
#+end_src
+I'm experimenting with project-based window management.
+
+#+begin_src elisp
+(use-package activities
+ :init
+ (activities-mode)
+ (activities-tabs-mode)
+ ;; Prevent `edebug' default bindings from interfering.
+ (setq edebug-inhibit-emacs-lisp-mode-bindings t)
+
+ :bind
+ (("C-x C-a C-n" . activities-new)
+ ;; As resuming is expected to be one of the most commonly used
+ ;; commands, this binding is one of the easiest to press.
+ ("C-x C-a C-a" . activities-resume)
+ ("C-x C-a C-s" . activities-suspend)
+ ("C-x C-a C-k" . activities-kill)
+ ;; This binding mirrors, e.g. "C-x t RET".
+ ("C-x C-a RET" . activities-switch)
+ ("C-x C-a g" . activities-revert)
+ ("C-x C-a l" . activities-list)))
+#+end_src
+
* Email
TODO: this is a big blob of email configuration. Document this properly!