Automatically enter visual-line-mode in text-mode
This commit is contained in:
parent
5c0d9eb605
commit
fdee4b7c87
2
init.el
2
init.el
@ -361,6 +361,8 @@ Version 2016-02-16"
|
|||||||
(lambda ()
|
(lambda ()
|
||||||
(if (display-graphic-p) (org-bullets-mode t))))
|
(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)
|
(global-set-key (kbd "M-(") 'æ-enclose-region)
|
||||||
|
|
||||||
;; TODO: maybe add-to-list is a better way to do it
|
;; TODO: maybe add-to-list is a better way to do it
|
||||||
|
Loading…
Reference in New Issue
Block a user