diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-06 02:12:24 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-06 02:12:24 -0400 |
commit | 990b1424414857d83715714093e40223acdb86d4 (patch) | |
tree | 1e23fc62de40dc5b252b9ed037136c878329f277 /init.el | |
parent | Fix link to `CONTRIBUTING.md` in `README.md` (diff) | |
download | mmosmacs-990b1424414857d83715714093e40223acdb86d4.tar.gz mmosmacs-990b1424414857d83715714093e40223acdb86d4.tar.bz2 mmosmacs-990b1424414857d83715714093e40223acdb86d4.zip |
Add keybinds for rectangular selection
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -527,6 +527,11 @@ | |||
527 | (setq expand-region-subword-enabled t) | 527 | (setq expand-region-subword-enabled t) |
528 | :bind ("M-=" . er/expand-region)) | 528 | :bind ("M-=" . er/expand-region)) |
529 | 529 | ||
530 | ;; Enable `cua-selection-mode' for | ||
531 | ;; rectangular selection. | ||
532 | (add-hook 'after-init-hook 'cua-selection-mode) | ||
533 | (global-set-key (kbd "s-c") 'rectangle-mark-mode) | ||
534 | |||
530 | 535 | ||
531 | ;; --------------------------------- | 536 | ;; --------------------------------- |
532 | ;; Multiple cursors | 537 | ;; Multiple cursors |