diff --git a/unravel-emacs.org b/unravel-emacs.org index 2fc3499..d4993c0 100644 --- a/unravel-emacs.org +++ b/unravel-emacs.org @@ -1098,6 +1098,20 @@ process. (server-start))) #+end_src +** The =unravel-essentials.el= section about ~easy-kill~ +:PROPERTIES: +:CUSTOM_ID: h:891BA3F6-6229-45B5-B5E8-80FA4837662B +:END: + +~easy-kill~ is a drop-in replacement for ~kill-ring-save~, letting me easily and quickly copy / kill anything I want. + +#+begin_src emacs-lisp :tangle "unravel-modules/unravel-essentials.el" + (use-package easy-kill + :ensure t + :bind + ("M-w" . easy-kill)) ; re-map kill-ring-save +#+end_src + ** The =unravel-essentials.el= section about ~expreg~ (tree-sitter mark syntactically) :PROPERTIES: :CUSTOM_ID: h:ceb193bf-0de3-4c43-8ab7-6daa50817754 @@ -1114,6 +1128,8 @@ designed for tree-sitter (Lisp seems to work regardless). The package offers the ~expreg-expand~ and ~expreg-contract~ commands. #+end_quote +I expect ~expreg~ to eventually completely replace ~easy-kill~ () + #+begin_src emacs-lisp :tangle "unravel-modules/unravel-essentials.el" ;;; Mark syntactic constructs efficiently if tree-sitter is available (expreg) (when (treesit-available-p) diff --git a/unravel-modules/unravel-essentials.el b/unravel-modules/unravel-essentials.el index 08abdc8..074efe5 100644 --- a/unravel-modules/unravel-essentials.el +++ b/unravel-modules/unravel-essentials.el @@ -89,6 +89,11 @@ (unless (server-running-p) (server-start))) +(use-package easy-kill + :ensure t + :bind + ("M-w" . easy-kill)) ; re-map kill-ring-save + ;;; Mark syntactic constructs efficiently if tree-sitter is available (expreg) (when (treesit-available-p) (use-package expreg