Commit 9c2127b79aab

Vincent Demeester <vincent@sbr.pm>
2020-09-14 12:10:07
tools/emacs: add whole-line-or-region
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent d06ae5c
Changed files (2)
tools
emacs
users
vincent
tools/emacs/config/config-editing.el
@@ -316,5 +316,9 @@ If region is active, add its contents to the new buffer."
   :diminish
   :hook (prog-mode-hook . subword-mode))
 
+(use-package whole-line-or-region
+  :config
+  (whole-line-or-region-global-mode))
+
 (provide 'config-editing)
 ;;; config-editing.el ends here
users/vincent/dev/emacs.nix
@@ -124,6 +124,7 @@ let
     vterm
     web-mode
     wgrep
+    whole-line-or-region
     with-editor
     xterm-color
     yaml-mode