config/doom: add pkgbuild-mode and org-yank-visible

This commit is contained in:
xeruf 2021-09-20 21:29:19 +02:00
parent 79be21761e
commit 39fab808f7
2 changed files with 9 additions and 3 deletions

View File

@ -214,6 +214,10 @@ Version 2019-11-04 2021-02-16"
(org-enforce-todo-dependencies nil)) (org-enforce-todo-dependencies nil))
(org-map-entries (lambda () (org-todo state)) nil scope))) (org-map-entries (lambda () (org-todo state)) nil scope)))
(defun org-yank-visible ()
(interactive)
(if mark-active (org-copy-visible) (org-copy-visible (point) (progn (end-of-line) (point)))))
(map! :map org-mode-map (map! :map org-mode-map
:leader :leader
"j" 'org-insert-heading "j" 'org-insert-heading
@ -227,6 +231,7 @@ Version 2019-11-04 2021-02-16"
"e" 'org-export-dispatch-custom-date "e" 'org-export-dispatch-custom-date
"E" 'org-export-repeat "E" 'org-export-repeat
"n" 'org-add-note "n" 'org-add-note
"y" 'org-yank-visible
"d=" 'org-timestamp-up-week "d=" 'org-timestamp-up-week
"rt" 'org-change-todo-in-region "rt" 'org-change-todo-in-region
"ra" 'org-change-tag-in-region "ra" 'org-change-tag-in-region

View File

@ -54,18 +54,19 @@
;(package! evil-better-visual-line) ; not sure if this actually helps ;(package! evil-better-visual-line) ; not sure if this actually helps
(package! visual-fill-column) ; Soft line wrapping at character count (package! visual-fill-column) ; Soft line wrapping at character count
(package! activity-watch-mode)
(package! evil-tutor)
(package! togetherly) ; Collaborative editing (package! togetherly) ; Collaborative editing
(package! direnv) ; directory-local environment for haskell-nix things (package! direnv) ; directory-local environment for haskell-nix things
(package! plantuml-mode) ; Diagrams (package! plantuml-mode) ; Diagrams
(package! adoc-mode) ; Asciidoc, a md alternative (package! adoc-mode) ; Asciidoc, a md alternative
(package! nov) ; epub reader (package! nov) ; epub reader
(package! pkgbuild-mode)
(package! evil-tutor)
(package! chordpro-mode (package! chordpro-mode
:recipe (:host github :repo "toemacs/chordpro-mode")) ; chord sheets :recipe (:host github :repo "toemacs/chordpro-mode")) ; chord sheets
(package! activity-watch-mode)
(package! osm-mode (package! osm-mode
:recipe (:host github :repo "ruediger/osm-mode")) :recipe (:host github :repo "ruediger/osm-mode"))