Skip to content

Instantly share code, notes, and snippets.

@syl20bnr
Forked from keslerm/gist:c69c58835ba70ad06257
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syl20bnr/01cd84260707144be8ea to your computer and use it in GitHub Desktop.
Save syl20bnr/01cd84260707144be8ea to your computer and use it in GitHub Desktop.
(defvar multiple-cursors-packages
'(
multiple-cursors
)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defvar multiple-cursors/init-multiple-cursors ()
(use-package multiple-cursors
:init
(global-set-key (kbd "C-S-c C-S-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)
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment