aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/overlays/kookie/emacs/multi-cursor/default.el
blob: 15d737d2e8a0066506ca47791c9da5aaaaaac492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;; multi-cursor.el
;;   Configure multiple-cursors mode with custom keybings
;;
;; This module depends on multiple-cursors mode.
;;
;;
;; This file is part of LIBKOOKIE, a collection of nix expressions.
;; LIBKOOKIE is licensed under the GPL-3.0 (or later) -- see LICENSE

(provide 'multi-cursor)
(require 'multiple-cursors)

;;; Multiple cursors bindings
(global-set-key (kbd "C-H-c C-H-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-c C-<") 'mc/mark-all-like-this)