Added the visual-line-mode and org-appear mode by default
This commit is contained in:
parent
58e1649ee3
commit
0218237590
2 changed files with 17 additions and 2 deletions
|
|
@ -317,7 +317,8 @@ A->B
|
||||||
|
|
||||||
(let* ((wanted-packages
|
(let* ((wanted-packages
|
||||||
'(flycheck
|
'(flycheck
|
||||||
company))
|
company
|
||||||
|
org-appear))
|
||||||
(missing-wanted-packages (remove-if #'package-installed-p wanted-packages)))
|
(missing-wanted-packages (remove-if #'package-installed-p wanted-packages)))
|
||||||
(when missing-wanted-packages
|
(when missing-wanted-packages
|
||||||
(message "Missing wanted packages: %s" missing-wanted-packages)
|
(message "Missing wanted packages: %s" missing-wanted-packages)
|
||||||
|
|
@ -331,4 +332,8 @@ A->B
|
||||||
;; When loading org-mode turns off auto-fill-mode
|
;; When loading org-mode turns off auto-fill-mode
|
||||||
(add-hook 'org-mode-hook 'turn-off-auto-fill)
|
(add-hook 'org-mode-hook 'turn-off-auto-fill)
|
||||||
|
|
||||||
|
(add-hook 'org-mode-hook 'org-appear-mode)
|
||||||
|
|
||||||
|
(global-visual-line-mode 1) ; 1 for on & 0 for off
|
||||||
|
|
||||||
(load-theme 'leuven t)
|
(load-theme 'leuven t)
|
||||||
|
|
|
||||||
|
|
@ -509,7 +509,8 @@ This often fails, yielding an ugly warning, and isn't of any use in Org-mode any
|
||||||
#+begin_src emacs-lisp :tangle init.el
|
#+begin_src emacs-lisp :tangle init.el
|
||||||
(let* ((wanted-packages
|
(let* ((wanted-packages
|
||||||
'(flycheck
|
'(flycheck
|
||||||
company))
|
company
|
||||||
|
org-appear))
|
||||||
(missing-wanted-packages (remove-if #'package-installed-p wanted-packages)))
|
(missing-wanted-packages (remove-if #'package-installed-p wanted-packages)))
|
||||||
(when missing-wanted-packages
|
(when missing-wanted-packages
|
||||||
(message "Missing wanted packages: %s" missing-wanted-packages)
|
(message "Missing wanted packages: %s" missing-wanted-packages)
|
||||||
|
|
@ -528,6 +529,15 @@ This snippet disables the auto-fill-mode which wraps the line when it exceeds a
|
||||||
;; When loading org-mode turns off auto-fill-mode
|
;; When loading org-mode turns off auto-fill-mode
|
||||||
(add-hook 'org-mode-hook 'turn-off-auto-fill)
|
(add-hook 'org-mode-hook 'turn-off-auto-fill)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Activating org-appear minor mode
|
||||||
|
This mode makes the emphasis markers appear when the cursor is on it
|
||||||
|
#+begin_src emacs-lisp :tangle init.el
|
||||||
|
(add-hook 'org-mode-hook 'org-appear-mode)
|
||||||
|
#+end_src
|
||||||
|
** Visual line mode activated on startup
|
||||||
|
#+begin_src emacs-lisp :tangle init.el
|
||||||
|
(global-visual-line-mode 1) ; 1 for on & 0 for off
|
||||||
|
#+end_src
|
||||||
* Theme
|
* Theme
|
||||||
** Activation du thème
|
** Activation du thème
|
||||||
#+begin_src emacs-lisp :tangle init.el
|
#+begin_src emacs-lisp :tangle init.el
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue