fixed a couple of keybinding inconsistencies

This commit is contained in:
Bozhidar Batsov 2012-10-05 10:15:30 +03:00
parent e856b93d29
commit 3e45726967

View file

@ -39,8 +39,8 @@
(global-set-key (kbd "C-x \\") 'align-regexp) (global-set-key (kbd "C-x \\") 'align-regexp)
;; Font size ;; Font size
(define-key global-map (kbd "C-+") 'text-scale-increase) (global-set-key (kbd "C-+") 'text-scale-increase)
(define-key global-map (kbd "C--") 'text-scale-decrease) (global-set-key (kbd "C--") 'text-scale-decrease)
;; Window switching. (C-x o goes to the next window) ;; Window switching. (C-x o goes to the next window)
(global-set-key (kbd "C-x O") (lambda () (global-set-key (kbd "C-x O") (lambda ()
@ -65,8 +65,8 @@
;; If you want to be able to M-x without meta ;; If you want to be able to M-x without meta
(global-set-key (kbd "C-x C-m") 'execute-extended-command) (global-set-key (kbd "C-x C-m") 'execute-extended-command)
;; A complementary binding to the apropos-command(C-h a) ;; A complementary binding to the apropos-command (C-h a)
(global-set-key (kbd "C-h A") 'apropos) (define-key 'help-command "A" 'apropos)
;; Activate occur easily inside isearch ;; Activate occur easily inside isearch
(define-key isearch-mode-map (kbd "C-o") (define-key isearch-mode-map (kbd "C-o")
@ -90,7 +90,10 @@
(global-set-key (kbd "C-=") 'er/expand-region) (global-set-key (kbd "C-=") 'er/expand-region)
(global-set-key (kbd "C-c w") (make-repeatable-command 'er/expand-region)) (global-set-key (kbd "C-c w") (make-repeatable-command 'er/expand-region))
(define-key global-map [remap exchange-point-and-mark] 'prelude-exchange-point-and-mark) ;; make C-x C-x usable with transient-mark-mode
(define-key global-map
[remap exchange-point-and-mark]
'prelude-exchange-point-and-mark)
(provide 'prelude-global-keybindings) (provide 'prelude-global-keybindings)