enabled a couple of useful commands by default

This commit is contained in:
Bozhidar Batsov 2012-02-23 18:22:18 +02:00
parent 605afde052
commit f6768ef17d

View file

@ -158,8 +158,14 @@
(add-hook 'message-mode-hook 'prelude-turn-on-flyspell) (add-hook 'message-mode-hook 'prelude-turn-on-flyspell)
(add-hook 'text-mode-hook 'prelude-turn-on-flyspell) (add-hook 'text-mode-hook 'prelude-turn-on-flyspell)
;; enable narrow to region ;; enable narrowing commands
(put 'narrow-to-region 'disabled nil) (put 'narrow-to-region 'disabled nil)
(put 'narrow-to-page 'disabled nil)
(put 'narrow-to-defun 'disabled nil)
;; enabled change region case commands
(put 'upcase-region 'disabled nil)
(put 'downcase-region 'disabled nil)
(require 'expand-region) (require 'expand-region)
(global-set-key (kbd "C-@") 'er/expand-region) (global-set-key (kbd "C-@") 'er/expand-region)