home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9c2127b79aabeb0cb5babfeae3a9c93bc6b85936
parent d06ae5cf8a4f734cf8ec26f334b3ea9bb4507333
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 14 Sep 2020 11:10:07 +0100

tools/emacs: add whole-line-or-region

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-editing.el | 4++++
Musers/vincent/dev/emacs.nix | 1+
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/tools/emacs/config/config-editing.el b/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 diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -124,6 +124,7 @@ let vterm web-mode wgrep + whole-line-or-region with-editor xterm-color yaml-mode