Some tweaks and improvements for org-mode

This commit is contained in:
2019-12-06 13:13:18 +00:00
parent aedea7dc3a
commit 6c9716ca22
5 changed files with 19 additions and 0 deletions

View File

@@ -27,12 +27,16 @@
:custom
(org-export-backends '(ascii html icalendar latex md confluence))
(org-export-with-section-numbers nil)
(org-export-with-sub-superscripts '{})
:init
(defun siren-org-mode-setup ()
(setq fill-column 80
whitespace-action '(auto-cleanup))
(setcar (nthcdr 4 org-emphasis-regexp-components) 20)
(org-set-emph-re 'org-emphasis-regexp-components org-emphasis-regexp-components)
(linum-mode t)
(flyspell-mode)
(fci-mode)

View File

@@ -48,6 +48,7 @@
"vendor/assets"))
(projectile-globally-ignored-files '("TAGS" "*.log"))
(projectile-indexing-method 'hybrid)
(projectile-project-search-path '("~/Projects"))
(projectile-sort-order 'recently-active)
:config

5
snippets/org-mode/gfm Normal file
View File

@@ -0,0 +1,5 @@
# key: gfm
# --
# Local variables:
# after-save-hook: (lambda () (org-gfm-export-to-markdown) t)
# end:$0

View File

@@ -0,0 +1,6 @@
# key: link-brackets
# --
# Square Bracket Open [
#+MACRO: BO @@latex:\char91@@@@html:[@@
# Square Bracket Close ]
#+MACRO: BC @@latex:\char93@@@@html:]@@

3
snippets/org-mode/toc Normal file
View File

@@ -0,0 +1,3 @@
# key: toc
# --
#+OPTIONS: toc:${1:nil}$0