diff options
Diffstat (limited to '.config/emacs/archive/if_i_use_emacs_keybinds.el')
| -rw-r--r-- | .config/emacs/archive/if_i_use_emacs_keybinds.el | 22 |
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)) |
