summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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!