make org syntax highlighting of code blocks a global config
This commit is contained in:
parent
67219564a3
commit
fd2e80c231
|
@ -45,9 +45,6 @@
|
||||||
; Fix resolution of ~ to match other client paths
|
; Fix resolution of ~ to match other client paths
|
||||||
(setenv "HOME" "/data/data/com.termux/files/home/")
|
(setenv "HOME" "/data/data/com.termux/files/home/")
|
||||||
(setq default-directory "/data/data/com.termux/files/home/")
|
(setq default-directory "/data/data/com.termux/files/home/")
|
||||||
|
|
||||||
; Better fonts
|
|
||||||
(setq org-src-fontify-natively t)
|
|
||||||
|
|
||||||
; Setup xdg-open as the default for opening files (except for the few we want emacs to open native)
|
; Setup xdg-open as the default for opening files (except for the few we want emacs to open native)
|
||||||
; xdg-open is linked to termux-open by default ; if you need 'more' look into tmux-open and adjust accordingly
|
; xdg-open is linked to termux-open by default ; if you need 'more' look into tmux-open and adjust accordingly
|
||||||
|
@ -177,7 +174,7 @@
|
||||||
'(variable-pitch ((t (:family "Atkinson Hyperlegible" :height 120)))))
|
'(variable-pitch ((t (:family "Atkinson Hyperlegible" :height 120)))))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; set ui to standard org-workspace at launch
|
; set ui to standard empty code workspace at launch
|
||||||
(add-hook 'after-init-hook (lambda ()
|
(add-hook 'after-init-hook (lambda ()
|
||||||
(kmn/workspace-code-empty)
|
(kmn/workspace-code-empty)
|
||||||
))
|
))
|
||||||
|
|
|
@ -254,6 +254,9 @@
|
||||||
;; use y or n instead of yes or no
|
;; use y or n instead of yes or no
|
||||||
(fset 'yes-or-no-p 'y-or-n-p)
|
(fset 'yes-or-no-p 'y-or-n-p)
|
||||||
|
|
||||||
|
; org mode syntax highlight code blocks
|
||||||
|
(setq org-src-fontify-natively t)
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; set font for emoji -- DOES NOT WORK ON MOBILE
|
;; set font for emoji -- DOES NOT WORK ON MOBILE
|
||||||
(when (eq system-type 'windows-nt)
|
(when (eq system-type 'windows-nt)
|
||||||
|
|
|
@ -46,9 +46,6 @@
|
||||||
(setenv "HOME" "/data/data/com.termux/files/home/")
|
(setenv "HOME" "/data/data/com.termux/files/home/")
|
||||||
(setq default-directory "/data/data/com.termux/files/home/")
|
(setq default-directory "/data/data/com.termux/files/home/")
|
||||||
|
|
||||||
; Better fonts
|
|
||||||
(setq org-src-fontify-natively t)
|
|
||||||
|
|
||||||
; Setup xdg-open as the default for opening files (except for the few we want emacs to open native)
|
; Setup xdg-open as the default for opening files (except for the few we want emacs to open native)
|
||||||
; xdg-open is linked to termux-open by default ; if you need 'more' look into tmux-open and adjust accordingly
|
; xdg-open is linked to termux-open by default ; if you need 'more' look into tmux-open and adjust accordingly
|
||||||
; (add-to-list 'org-file-apps '("\\.doc.*" . "open %s"))
|
; (add-to-list 'org-file-apps '("\\.doc.*" . "open %s"))
|
||||||
|
@ -117,7 +114,6 @@
|
||||||
(setq org-return-follows-link t)
|
(setq org-return-follows-link t)
|
||||||
(setq org-startup-folded t)
|
(setq org-startup-folded t)
|
||||||
(setq org-support-shift-select t)
|
(setq org-support-shift-select t)
|
||||||
(setq org-src-fontify-natively t)
|
|
||||||
(setq org-log-into-drawer t)
|
(setq org-log-into-drawer t)
|
||||||
(setq org-log-done t)
|
(setq org-log-done t)
|
||||||
|
|
||||||
|
|
Reference in a new issue