(use-package expreg :bind ("C-=" . expreg-expand) :config (defvar expreg-repeat-map (let ((map (make-sparse-keymap))) (define-key map "=" #'expreg-expand) (define-key map "-" #'expreg-contract) map)) (put 'expreg-expand 'repeat-map 'expreg-repeat-map) (put 'expreg-contract 'repeat-map 'expreg-repeat-map)) (use-package surround :ensure t :bind-keymap ("M-'" . surround-keymap)) (use-package easy-kill :config (global-set-key [remap kill-ring-save] 'easy-kill) (global-set-key [remap mark-sexp] 'easy-mark)) (use-package devil :config (global-devil-mode 1)) (use-package ace-window :config (global-set-key (kbd "s-w") 'ace-window) (global-set-key [remap other-window] 'ace-window)) (use-package vundo :bind (("C-x u" . vundo))) (use-package multiple-cursors :ensure t :bind (("C-c g" . mc/mark-all-dwim) ("C->" . mc/mark-next-like-this) ("C-<" . mc/mark-previous-like-this) ("M-" . mc/add-cursor-on-click))) (provide 'editing-config)