diff options
| author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-07 22:54:34 -0400 |
|---|---|---|
| committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-07 22:54:34 -0400 |
| commit | fa256323b4f2803dfcf3b992dc3b115106973d12 (patch) | |
| tree | 7edd5d6e91913ea59ef2cdd7e45569e242162010 | |
| parent | Fix CUA rectangle selection keybind (diff) | |
| download | mmosmacs-fa256323b4f2803dfcf3b992dc3b115106973d12.tar.gz mmosmacs-fa256323b4f2803dfcf3b992dc3b115106973d12.tar.bz2 mmosmacs-fa256323b4f2803dfcf3b992dc3b115106973d12.zip | |
Enable `cua-selection-mode` directly instead of as a hook
| -rw-r--r-- | init.el | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -529,7 +529,7 @@ | |||
| 529 | 529 | ||
| 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 | (cua-selection-mode nil) |
| 533 | (global-set-key (kbd "s-c") 'cua-rectangle-mark-mode) | 533 | (global-set-key (kbd "s-c") 'cua-rectangle-mark-mode) |
| 534 | (set-face-attribute 'cua-rectangle nil | 534 | (set-face-attribute 'cua-rectangle nil |
| 535 | :background "#110" | 535 | :background "#110" |