25 lines
634 B
EmacsLisp
25 lines
634 B
EmacsLisp
;;; module-multi-cursor.el --- multiple cursors
|
|
;;; Commentary:
|
|
;;;
|
|
;;; Multiple cursor support for Emacs. Everyone else is doing it,
|
|
;;; right?
|
|
;;;
|
|
;;; Code:
|
|
|
|
(require 'module-pkg)
|
|
(pkg/require 'multiple-cursors)
|
|
|
|
(multiple-cursors-mode 1)
|
|
|
|
(global-set-key (kbd "C-x C-<") 'mc/edit-lines)
|
|
(global-set-key (kbd "C->") 'mc/mark-next-like-this)
|
|
(global-set-key (kbd "C-<") 'mc/mark-previous-like-this)
|
|
(global-set-key (kbd "C-x C->") 'mc/mark-all-like-this)
|
|
|
|
(global-unset-key (kbd "C-<down-mouse-1>"))
|
|
(global-set-key (kbd "C-<mouse-1>") 'mc/add-cursor-on-click)
|
|
|
|
(provide 'module-multi-cursor)
|
|
|
|
;;; module-multi-cursor.el ends here.
|