diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-07 00:51:36 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-07 00:51:36 -0400 |
commit | da5fb21c5ca7c773815bca81285aaadd09b9d453 (patch) | |
tree | 62572147f1605aa2a03182c2b6a856af2ee20ed5 | |
parent | Add keybinds for rectangular selection (diff) | |
download | mmosmacs-da5fb21c5ca7c773815bca81285aaadd09b9d453.tar.gz mmosmacs-da5fb21c5ca7c773815bca81285aaadd09b9d453.tar.bz2 mmosmacs-da5fb21c5ca7c773815bca81285aaadd09b9d453.zip |
Fix CUA rectangle selection keybind
-rw-r--r-- | init.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -530,7 +530,10 @@ | |||
530 | ;; Enable `cua-selection-mode' for | 530 | ;; Enable `cua-selection-mode' for |
531 | ;; rectangular selection. | 531 | ;; rectangular selection. |
532 | (add-hook 'after-init-hook 'cua-selection-mode) | 532 | (add-hook 'after-init-hook 'cua-selection-mode) |
533 | (global-set-key (kbd "s-c") 'rectangle-mark-mode) | 533 | (global-set-key (kbd "s-c") 'cua-rectangle-mark-mode) |
534 | (set-face-attribute 'cua-rectangle nil | ||
535 | :background "#110" | ||
536 | :foreground nil) | ||
534 | 537 | ||
535 | 538 | ||
536 | ;; --------------------------------- | 539 | ;; --------------------------------- |