mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
This just ensures that various packages that can defer loading actually does defer until they're first used.
33 lines
876 B
EmacsLisp
33 lines
876 B
EmacsLisp
;;; siren-multiple-cursors.el --- jimeh's Emacs Siren: multiple-cursors configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for multiple-cursors.
|
|
|
|
;;; Code:
|
|
|
|
(use-package multiple-cursors
|
|
:bind
|
|
("C-x C-@" . mc/edit-lines) ;; Terminal
|
|
("M-/" . mc/mark-next-like-this)
|
|
("M-m" . mc/mark-previous-like-this)
|
|
("C-c M-/" . mc/mark-all-like-this)
|
|
("M-RET" . set-rectangular-region-anchor)
|
|
|
|
:custom
|
|
(mc/edit-lines-empty-lines 'ignore)
|
|
|
|
:config
|
|
;; Make alt-<click> add additional cursors
|
|
(global-unset-key (kbd "M-<down-mouse-1>")) ;; must unset key first
|
|
(global-set-key (kbd "M-<mouse-1>") 'mc/add-cursor-on-click))
|
|
|
|
;; Allows searching forward/back (C-s/C-r) searching with multiple cursors.
|
|
(use-package phi-search
|
|
:after multiple-cursors
|
|
:custom
|
|
(phi-search-limit 3000))
|
|
|
|
(provide 'siren-multiple-cursors)
|
|
;;; siren-multiple-cursors.el ends here
|