summaryrefslogtreecommitdiff
path: root/.config/emacs/archive/if_i_use_emacs_keybinds.el
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2026-01-22 23:18:38 -0500
committerJack Jamison <jackqjamison@gmail.com>2026-01-22 23:18:38 -0500
commite5ca063e3bc3fba3e497edfb6482b4a9dba449e6 (patch)
tree7da87352c0085d4c95c5bbf836dee679297b2d56 /.config/emacs/archive/if_i_use_emacs_keybinds.el
parent05fb99140b5541c3f3e3648fa1c8170e229118cd (diff)
switch to sway
Diffstat (limited to '.config/emacs/archive/if_i_use_emacs_keybinds.el')
-rw-r--r--.config/emacs/archive/if_i_use_emacs_keybinds.el22
1 files changed, 22 insertions, 0 deletions
diff --git a/.config/emacs/archive/if_i_use_emacs_keybinds.el b/.config/emacs/archive/if_i_use_emacs_keybinds.el
new file mode 100644
index 0000000..647b7bc
--- /dev/null
+++ b/.config/emacs/archive/if_i_use_emacs_keybinds.el
@@ -0,0 +1,22 @@
+;; mwim
+(use-package mwim
+ :bind (("C-a" . mwim-beginning)
+ ("C-e" . mwim-end-of-line)))
+
+;; expand keybind
+(use-package expand-region
+ :bind("C-=" . er/expand-region))
+
+;; multiple cursors
+(use-package multiple-cursors
+ :bind (:map global-map
+ ("C->" . 'mc/mark-next-like-this)
+ ("C-<" . 'mc/mark-previous-like-this)
+ ("C-c C->" . 'mc/mark-all-like-this)
+ :map mc/keymap
+ ("<return>" . nil)))
+
+;; delete marked text when typing start
+(use-package delsel
+ :ensure nil
+ :hook (after-init . delete-selection-mode))