From d2cf0a6a5399bdff348c95e907a49ebc5dd2c4dc Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Tue, 27 Feb 2024 09:08:38 +0100 Subject: [PATCH] Add activities and vundo --- init.el | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/init.el b/init.el index a426e94..4ddee69 100644 --- a/init.el +++ b/init.el @@ -39,6 +39,7 @@ (show-paren-mode 1) (global-hl-line-mode -1) (global-hi-lock-mode 1) + (setq tab-bar-show 1) ;; More useful frame title, that show either a file or a buffer name ;; (if the buffer isn't visiting a file) (setq frame-title-format @@ -160,12 +161,9 @@ (use-package orderless :straight t - :init - (setq completion-styles '(orderless) - completion-category-defaults nil - completion-category-overrides nil - completion-category-overrides '((file (styles partial-completion - orderless))))) + :custom + (completion-styles '(orderless basic)) + (completion-category-overrides '((file (styles basic partial-completion))))) (use-package consult :straight t @@ -228,6 +226,30 @@ (setq tab-always-indent 'complete) (global-corfu-mode)) +(use-package vundo + :straight t + :config + (setq vundo-glyph-alist vundo-unicode-symbols)) + +(use-package activities + :straight t + :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))) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Knowledge management: org-mode, org-roam, bibliography ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;