Bring back easy-kill

I need my easy goodness for copying stuff quickly.
This commit is contained in:
Vedang Manerikar 2024-11-17 15:48:41 +05:30
parent 6ee97ead7b
commit c7b1ea6a1f
2 changed files with 21 additions and 0 deletions

View file

@ -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)

View file

@ -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