From da5fb21c5ca7c773815bca81285aaadd09b9d453 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Wed, 7 Jun 2023 00:51:36 -0400 Subject: Fix CUA rectangle selection keybind --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index a64453e..4ce9b68 100644 --- a/init.el +++ b/init.el @@ -530,7 +530,10 @@ ;; Enable `cua-selection-mode' for ;; rectangular selection. (add-hook 'after-init-hook 'cua-selection-mode) -(global-set-key (kbd "s-c") 'rectangle-mark-mode) +(global-set-key (kbd "s-c") 'cua-rectangle-mark-mode) +(set-face-attribute 'cua-rectangle nil + :background "#110" + :foreground nil) ;; --------------------------------- -- cgit v1.2.3