[emacs] Add org-alert + fix a few mc shortcuts

Thanks to
[http://endlessparentheses.com/multiple-cursors-keybinds.html?source=rss](Endless
Paranthesis).
This commit is contained in:
Sebastian Schulze 2015-10-13 12:56:06 +02:00
parent eec0084ca4
commit 28fe7ac514
3 changed files with 11 additions and 1 deletions

View File

@ -28,5 +28,8 @@
'(mode-line ((t (:background "brightblack" :foreground "#4e4e4e" :box (:line-width 1 :color "dodger blue")))))
)))
;;; Nice Org alert boxes
(setq alert-default-style 'libnotify)
(provide 'appearance-config)
;;; appearance-config.el ends here

View File

@ -8,10 +8,11 @@
(require 'nyan-mode)
(require 'notmuch)
(require 'notmuch-address)
(require 'multiple-cursors)
(require 'multiple-cursors-core)
(require 'yasnippet)
(require 'rspec-mode)
(require 'ansi-color)
(require 'org-alert)
(add-to-list 'load-path "~/.emacs.d/personal/")

View File

@ -26,12 +26,18 @@
(global-set-key (kbd "M-p") 'ace-window)
;;; I <3 multiple cursors!
(define-key ctl-x-map "\C-m" #'mc/mark-all-dwim)
(global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines)
(global-set-key (kbd "C-s->") 'mc/mark-next-like-this)
(global-set-key (kbd "C-s-<") 'mc/mark-previous-like-this)
(global-set-key (kbd "C-s-c s-<") 'mc/mark-all-like-this)
(global-set-key (kbd "C-S-<mouse-1>") 'mc/add-cursor-on-click)
;; Try to get used to these instead
(global-set-key (kbd "M-3") #'mc/mark-next-like-this)
(global-set-key (kbd "M-4") #'mc/mark-previous-like-this)
(global-set-key (kbd "M-§") #'mc/unmark-next-like-this)
(global-set-key (kbd "M-$") #'mc/unmark-previous-like-this)
(global-set-key (kbd "M-+") 'er/expand-region)