From 990b1424414857d83715714093e40223acdb86d4 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Tue, 6 Jun 2023 02:12:24 -0400 Subject: Add keybinds for rectangular selection --- init.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index d92ff6f..a64453e 100644 --- a/init.el +++ b/init.el @@ -527,6 +527,11 @@ (setq expand-region-subword-enabled t) :bind ("M-=" . er/expand-region)) +;; Enable `cua-selection-mode' for +;; rectangular selection. +(add-hook 'after-init-hook 'cua-selection-mode) +(global-set-key (kbd "s-c") 'rectangle-mark-mode) + ;; --------------------------------- ;; Multiple cursors -- cgit v1.2.3