diff --git a/nebkor-emacs.org b/nebkor-emacs.org index 18f93f3..2b24cc6 100644 --- a/nebkor-emacs.org +++ b/nebkor-emacs.org @@ -63,6 +63,7 @@ - [[#the-nebkor-essentialsel-section-for-simpleel-changes][The =nebkor-essentials.el= section for ~simple.el~ changes]] - [[#the-nebkor-essentialsel-section-for-better-help-helpful][The =nebkor-essentials.el= section for better help (~helpful~)]] - [[#the-nebkor-essentials-section-for-indent-tools][The =nebkor-essentials= section for ~indent-tools~]] + - [[#the-nebkor-essentials-section-for-undo-tree][The =nebkor-essentials= section for ~undo-tree~]] - [[#the-nebkor-essentials-section-for-fancy-keyboard-shortcuts-key-chord][The =nebkor-essentials= section for fancy keyboard shortcuts (~key-chord~)]] - [[#the-nebkor-essentials-section-for-which-key][The =nebkor-essentials= section for ~which-key~]] - [[#the-nebkor-essentials-section-for-blackout-and-other-random-shit][The =nebkor-essentials= section for blackout and other random shit]] @@ -901,7 +902,7 @@ Another section defines some complementary functionality :default-weight regular :default-slant normal :default-width normal - :default-height 150 + :default-height 130 :fixed-pitch-family nil ; falls back to :default-family :fixed-pitch-weight nil ; falls back to :default-weight @@ -1496,6 +1497,23 @@ Emacs provides with default, and I find myself using Helpful only as an Avy acti :ensure t) #+end_src +** The =nebkor-essentials= section for ~undo-tree~ +:PROPERTIES: +:ID: a980ab55-cc66-4e5a-99d4-cff449657e1c +:END: + +Open a nodal history graph in a new window to navigate all previous histories with branches. + +#+begin_src emacs-lisp :tangle "nebkor-modules/nebkor-essentials.el" + (use-package undo-tree + :ensure t + :init + (global-undo-tree-mode) + (blackout 'undo-tree-mode) + :bind (("C-z" . undo) + ("C-S-z" . redo))) +#+end_src + ** The =nebkor-essentials= section for fancy keyboard shortcuts (~key-chord~) :PROPERTIES: :ID: 01JGD1AZDG00072YN0C6Y1FFEG diff --git a/nebkor-modules/nebkor-essentials.el b/nebkor-modules/nebkor-essentials.el index 4a151f5..1097b10 100644 --- a/nebkor-modules/nebkor-essentials.el +++ b/nebkor-modules/nebkor-essentials.el @@ -208,6 +208,14 @@ If the region is selected, retain the original behaviour, otherwise call (use-package indent-tools :ensure t) +(use-package undo-tree + :ensure t + :init + (global-undo-tree-mode) + (blackout 'undo-tree-mode) + :bind (("C-z" . undo) + ("C-S-z" . redo))) + (use-package key-chord :ensure t :config diff --git a/nebkor-modules/nebkor-theme.el b/nebkor-modules/nebkor-theme.el index 622e059..10e7064 100644 --- a/nebkor-modules/nebkor-theme.el +++ b/nebkor-modules/nebkor-theme.el @@ -126,7 +126,7 @@ :default-weight regular :default-slant normal :default-width normal - :default-height 150 + :default-height 130 :fixed-pitch-family nil ; falls back to :default-family :fixed-pitch-weight nil ; falls back to :default-weight