aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-06-06 02:12:24 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-06-06 02:12:24 -0400
commit990b1424414857d83715714093e40223acdb86d4 (patch)
tree1e23fc62de40dc5b252b9ed037136c878329f277 /init.el
parentFix link to `CONTRIBUTING.md` in `README.md` (diff)
downloadmmosmacs-990b1424414857d83715714093e40223acdb86d4.tar.gz
mmosmacs-990b1424414857d83715714093e40223acdb86d4.tar.bz2
mmosmacs-990b1424414857d83715714093e40223acdb86d4.zip
Add keybinds for rectangular selection
Diffstat (limited to 'init.el')
-rw-r--r--init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.el b/init.el
index d92ff6f..a64453e 100644
--- a/init.el
+++ b/init.el
@@ -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