enabled a couple of useful commands by default
This commit is contained in:
parent
605afde052
commit
f6768ef17d
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue