Double space org-mode sentences
This commit is contained in:
parent
6ab04f3dce
commit
7638d181e5
20
init.el
20
init.el
|
@ -31,6 +31,10 @@
|
||||||
inhibit-splash-screen t
|
inhibit-splash-screen t
|
||||||
custom-file (expand-file-name "custom.el" temporary-file-directory))
|
custom-file (expand-file-name "custom.el" temporary-file-directory))
|
||||||
|
|
||||||
|
(defun my-inhibit-hl-line-mode ()
|
||||||
|
"Disable `gobal-hl-line-mode' for the current buffer."
|
||||||
|
(setq-local global-hl-line-mode nil))
|
||||||
|
|
||||||
(use-package f
|
(use-package f
|
||||||
:demand t)
|
:demand t)
|
||||||
|
|
||||||
|
@ -477,6 +481,7 @@
|
||||||
:demand t
|
:demand t
|
||||||
:after dired
|
:after dired
|
||||||
:custom
|
:custom
|
||||||
|
(dired-auto-revert-buffer t)
|
||||||
(dirvish-attributes '(all-the-icons))
|
(dirvish-attributes '(all-the-icons))
|
||||||
:config
|
:config
|
||||||
(dirvish-override-dired-mode))
|
(dirvish-override-dired-mode))
|
||||||
|
@ -494,12 +499,16 @@
|
||||||
:config
|
:config
|
||||||
(pdf-tools-install))
|
(pdf-tools-install))
|
||||||
|
|
||||||
|
(defun my-double-space-sentence ()
|
||||||
|
(setq-local sentence-end-double-space t))
|
||||||
|
|
||||||
(use-package engrave-faces)
|
(use-package engrave-faces)
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:hook
|
:hook
|
||||||
(org-mode . auto-fill-mode)
|
(org-mode . auto-fill-mode)
|
||||||
(org-mode . my-inhibit-hl-line-mode)
|
(org-mode . my-inhibit-hl-line-mode)
|
||||||
|
(org-mode . my-double-space-sentence)
|
||||||
:custom
|
:custom
|
||||||
(org-startup-indented t)
|
(org-startup-indented t)
|
||||||
(org-startup-with-inline-images t)
|
(org-startup-with-inline-images t)
|
||||||
|
@ -702,10 +711,6 @@
|
||||||
vc-ignore-dir-regexp
|
vc-ignore-dir-regexp
|
||||||
tramp-file-name-regexp)))
|
tramp-file-name-regexp)))
|
||||||
|
|
||||||
(defun my-inhibit-hl-line-mode ()
|
|
||||||
"Disable `gobal-hl-line-mode' for the current buffer."
|
|
||||||
(setq-local global-hl-line-mode nil))
|
|
||||||
|
|
||||||
(use-package vterm
|
(use-package vterm
|
||||||
:bind
|
:bind
|
||||||
("C-c t" . vterm)
|
("C-c t" . vterm)
|
||||||
|
@ -865,9 +870,6 @@
|
||||||
(message-citation-line-function #'message-insert-formatted-citation-line)
|
(message-citation-line-function #'message-insert-formatted-citation-line)
|
||||||
(message-kill-buffer-on-exit t))
|
(message-kill-buffer-on-exit t))
|
||||||
|
|
||||||
(defun my-double-space-sentence ()
|
|
||||||
(setq-local sentence-end-double-space t))
|
|
||||||
|
|
||||||
(use-package mu4e
|
(use-package mu4e
|
||||||
:if my-is-nixos
|
:if my-is-nixos
|
||||||
:ensure nil
|
:ensure nil
|
||||||
|
@ -980,6 +982,10 @@
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:bind ("C-x C-b" . ibuffer))
|
:bind ("C-x C-b" . ibuffer))
|
||||||
|
|
||||||
|
(use-package info
|
||||||
|
:ensure nil
|
||||||
|
:hook (Info-mode . my-inhibit-hl-line-mode))
|
||||||
|
|
||||||
(use-package tool-bar
|
(use-package tool-bar
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:config
|
:config
|
||||||
|
|
Loading…
Reference in a new issue