config/doom: improve org export & epub navigation

This commit is contained in:
xeruf 2021-10-08 12:26:35 +02:00
parent cdde681aaa
commit 8af564adb7
1 changed files with 5 additions and 0 deletions

View File

@ -177,6 +177,7 @@ Version 2019-11-04 2021-02-16"
;;;; ORG ;;;; ORG
(after! org (after! org
(setq org-ascii-text-width 999999)
;; https://stackoverflow.com/a/32353255/6723250 ;; https://stackoverflow.com/a/32353255/6723250
(defun org-convert-csv-table (beg end) (defun org-convert-csv-table (beg end)
; convert csv to org-table considering "12,12" ; convert csv to org-table considering "12,12"
@ -247,6 +248,7 @@ Version 2019-11-04 2021-02-16"
"ra" 'org-change-tag-in-region "ra" 'org-change-tag-in-region
"lk" 'counsel-org-link "lk" 'counsel-org-link
:desc "Set ID property" "lI" '(lambda () (interactive) (org-set-property "ID" nil)) :desc "Set ID property" "lI" '(lambda () (interactive) (org-set-property "ID" nil))
:desc "Set Roam Aliases" "la" '(lambda () (interactive) (org-set-property "ROAM_ALIASES" nil))
"gR" 'org-mode-restart "gR" 'org-mode-restart
) )
@ -359,6 +361,9 @@ Version 2019-11-04 2021-02-16"
(setq eww-search-prefix "https://safe.duckduckgo.com/html/?q=") (setq eww-search-prefix "https://safe.duckduckgo.com/html/?q=")
(map! :map special-mode-map (map! :map special-mode-map
"<tab>" 'other-window
"q" 'kill-this-buffer
:map nov-mode-map
"<tab>" 'other-window "<tab>" 'other-window
"q" 'kill-this-buffer "q" 'kill-this-buffer
:map image-mode-map :map image-mode-map