Skip to content

Instantly share code, notes, and snippets.

@linktohack
Created March 2, 2020 22:11
Show Gist options
  • Save linktohack/c25bbb17cb602a5d81e8e4fef73f1d93 to your computer and use it in GitHub Desktop.
Save linktohack/c25bbb17cb602a5d81e8e4fef73f1d93 to your computer and use it in GitHub Desktop.
Multiple cursors ST version
(global-set-key (kbd "s-d") 'mc/mark-next-like-this-word)
(global-set-key (kbd "s-k") nil)
(global-set-key (kbd "s-k s-d") 'mc/skip-to-next-like-this)
(global-set-key (kbd "s-k s-u") 'mc/unmark-next-like-this)
(define-key mc/keymap (kbd "<return>") nil)
(global-unset-key (kbd "s-<down-mouse-1>"))
(global-set-key (kbd "s-<mouse-1>") 'mc/add-cursor-on-click)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment