mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Some tweaks and improvements for org-mode
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
5
snippets/org-mode/gfm
Normal file
@@ -0,0 +1,5 @@
|
||||
# key: gfm
|
||||
# --
|
||||
# Local variables:
|
||||
# after-save-hook: (lambda () (org-gfm-export-to-markdown) t)
|
||||
# end:$0
|
||||
6
snippets/org-mode/link-brackets
Normal file
6
snippets/org-mode/link-brackets
Normal 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
3
snippets/org-mode/toc
Normal file
@@ -0,0 +1,3 @@
|
||||
# key: toc
|
||||
# --
|
||||
#+OPTIONS: toc:${1:nil}$0
|
||||
Reference in New Issue
Block a user