Automatically enter visual-line-mode in text-mode

This commit is contained in:
Gergely Polonkai 2016-09-26 10:15:12 +02:00
parent 5c0d9eb605
commit fdee4b7c87
1 changed files with 2 additions and 0 deletions

View File

@ -361,6 +361,8 @@ Version 2016-02-16"
(lambda ()
(if (display-graphic-p) (org-bullets-mode t))))
(add-hook 'text-mode-hook (lambda () (visual-line-mode t)))
(global-set-key (kbd "M-(") 'æ-enclose-region)
;; TODO: maybe add-to-list is a better way to do it