Add activities and vundo

This commit is contained in:
Dimitri Lozeve 2024-02-27 09:08:38 +01:00
parent 9def9ca4e7
commit d2cf0a6a53

34
init.el
View file

@ -39,6 +39,7 @@
(show-paren-mode 1) (show-paren-mode 1)
(global-hl-line-mode -1) (global-hl-line-mode -1)
(global-hi-lock-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 ;; More useful frame title, that show either a file or a buffer name
;; (if the buffer isn't visiting a file) ;; (if the buffer isn't visiting a file)
(setq frame-title-format (setq frame-title-format
@ -160,12 +161,9 @@
(use-package orderless (use-package orderless
:straight t :straight t
:init :custom
(setq completion-styles '(orderless) (completion-styles '(orderless basic))
completion-category-defaults nil (completion-category-overrides '((file (styles basic partial-completion)))))
completion-category-overrides nil
completion-category-overrides '((file (styles partial-completion
orderless)))))
(use-package consult (use-package consult
:straight t :straight t
@ -228,6 +226,30 @@
(setq tab-always-indent 'complete) (setq tab-always-indent 'complete)
(global-corfu-mode)) (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 ;;; Knowledge management: org-mode, org-roam, bibliography
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;