summaryrefslogtreecommitdiff
path: root/settings/setup-multiple-cursors.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--settings/setup-multiple-cursors.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/settings/setup-multiple-cursors.el b/settings/setup-multiple-cursors.el
index 4df653d..fdfef8d 100644
--- a/settings/setup-multiple-cursors.el
+++ b/settings/setup-multiple-cursors.el
@@ -1,5 +1,11 @@
-(global-set-key (kbd "C-c <C-up>") 'mc/edit-lines)
-(global-set-key (kbd "C-c <down>") 'mc/mark-all-like-this)
+(if (equal system-type 'darwin)
+ (progn
+ (global-set-key (kbd "C-c <up>") 'mc/edit-lines)
+ (global-set-key (kbd "C-c <down>" ) 'mc/mark-all-like-this))
+ (progn
+ (global-set-key (kbd "C-c <C-up>") 'mc/edit-lines)
+ (global-set-key (kbd "C-c <C-down>" ) 'mc/mark-all-like-this)))
+
(global-set-key (kbd "C-c <C-right>") 'mc/mark-next-like-this)
(global-set-key (kbd "C-c <C-left>") 'mc/mark-previous-like-this)
(global-set-key (kbd "M-s m") 'mc/mark-all-in-eval)