[#421] Bind prelude-smart-open-line-above to M-O

This commit is contained in:
Bozhidar Batsov 2013-10-24 17:43:28 +03:00
parent 3c8c7dec05
commit b78ce3925c

View file

@ -42,6 +42,7 @@
;; mimic popular IDEs binding, note that it doesn't work in a terminal session ;; mimic popular IDEs binding, note that it doesn't work in a terminal session
(define-key map [(shift return)] 'prelude-smart-open-line) (define-key map [(shift return)] 'prelude-smart-open-line)
(define-key map (kbd "M-o") 'prelude-smart-open-line) (define-key map (kbd "M-o") 'prelude-smart-open-line)
(define-key map (kbd "M-O") 'prelude-smart-open-line-above)
(define-key map [(control shift return)] 'prelude-smart-open-line-above) (define-key map [(control shift return)] 'prelude-smart-open-line-above)
(define-key map [(control shift up)] 'move-text-up) (define-key map [(control shift up)] 'move-text-up)
(define-key map [(control shift down)] 'move-text-down) (define-key map [(control shift down)] 'move-text-down)