|
|
@ -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) |
|
|
|
|
|
(define-key global-map (kbd "C--") 'text-scale-decrease) |
|
|
|
|
|
|
|
|
(global-set-key (kbd "C-+") 'text-scale-increase) |
|
|
|
|
|
(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 () |
|
|
@ -66,7 +66,7 @@ |
|
|
(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) |
|
|
|
|
|
|
|
|
|