Fix C-a behavior (#991)

This commit is contained in:
Initial Zuo 2016-04-30 01:39:05 +08:00 committed by Bozhidar Batsov
parent ec56b3584d
commit 2b85871805

View file

@ -43,6 +43,7 @@
(define-key map (kbd "C-c y") 'prelude-youtube) (define-key map (kbd "C-c y") 'prelude-youtube)
(define-key map (kbd "C-c U") 'prelude-duckduckgo) (define-key map (kbd "C-c U") 'prelude-duckduckgo)
;; 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 (kbd "C-a") 'crux-move-beginning-of-line)
(define-key map [(shift return)] 'crux-smart-open-line) (define-key map [(shift return)] 'crux-smart-open-line)
(define-key map (kbd "M-o") 'crux-smart-open-line) (define-key map (kbd "M-o") 'crux-smart-open-line)
(define-key map [(control shift return)] 'crux-smart-open-line-above) (define-key map [(control shift return)] 'crux-smart-open-line-above)