config/doom: update to roam2 & add dired-icon
This commit is contained in:
parent
6384cf62f1
commit
b59d736e33
|
@ -167,6 +167,7 @@ Version 2019-11-04 2021-02-16"
|
||||||
)
|
)
|
||||||
|
|
||||||
(after! recentf
|
(after! recentf
|
||||||
|
(setq recentf-keep '(or file-remote-p recentf-keep-default-predicate))
|
||||||
(add-to-list 'recentf-exclude "writing\\/tug")
|
(add-to-list 'recentf-exclude "writing\\/tug")
|
||||||
(add-to-list 'recentf-exclude "\\.\\(sync\\|stversions\\|stfolder\\)")
|
(add-to-list 'recentf-exclude "\\.\\(sync\\|stversions\\|stfolder\\)")
|
||||||
)
|
)
|
||||||
|
@ -174,7 +175,8 @@ Version 2019-11-04 2021-02-16"
|
||||||
(after! projectile
|
(after! projectile
|
||||||
(push user-data-dir projectile-ignored-projects)
|
(push user-data-dir projectile-ignored-projects)
|
||||||
(let ((default-directory user-data-dir))
|
(let ((default-directory user-data-dir))
|
||||||
(add-to-list 'projectile-known-projects (expand-file-name "music") t)
|
(add-to-list 'projectile-known-projects (expand-file-name "music/") t)
|
||||||
|
(add-to-list 'projectile-known-projects (expand-file-name "2-standards/notes/") t)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -389,7 +391,9 @@ Version 2019-11-04 2021-02-16"
|
||||||
(string-trim
|
(string-trim
|
||||||
(shell-command-to-string (concat "file -b --mime-type '" filepath "'"))))
|
(shell-command-to-string (concat "file -b --mime-type '" filepath "'"))))
|
||||||
|
|
||||||
(setq image-dired-external-viewer "gimp")
|
(setq image-dired-external-viewer "gimp"
|
||||||
|
image-dired-thumb-size 300
|
||||||
|
image-dired-show-all-from-dir-max-files 300)
|
||||||
|
|
||||||
;;(let ((mime "image/x-xcf")) (msg mime))
|
;;(let ((mime "image/x-xcf")) (msg mime))
|
||||||
|
|
||||||
|
@ -404,13 +408,15 @@ Version 2019-11-04 2021-02-16"
|
||||||
(map! :map dired-mode-map
|
(map! :map dired-mode-map
|
||||||
:n "RET" 'dired-find-file-dwim
|
:n "RET" 'dired-find-file-dwim
|
||||||
:leader
|
:leader
|
||||||
:desc "Dragon" "d" (lambda () (interactive) (dragon (s-join " " (dired-get-marked-files))))
|
:desc "Dragon marks" "d"
|
||||||
|
(lambda () (interactive) (dragon (s-join " " (dired-get-marked-files))))
|
||||||
:localleader
|
:localleader
|
||||||
:desc "Compress/Extract" "c" 'dired-do-compress
|
:desc "Compress/Extract" "c" 'dired-do-compress
|
||||||
:desc "Size information" "s" (lambda () (interactive) (dired-smart-shell-command "s"))
|
:desc "Size information" "s"
|
||||||
|
(lambda () (interactive) (dired-smart-shell-command "s"))
|
||||||
:desc "Symlink to this" "l" 'dired-do-symlink
|
:desc "Symlink to this" "l" 'dired-do-symlink
|
||||||
:desc "Open image-dired" "i" 'image-dired
|
:desc "Open image-dired" "i"
|
||||||
;(lambda () (interactive) (image-dired buffer-file-name))
|
(lambda () (interactive) (image-dired buffer-file-name))
|
||||||
:desc "Open image externally" "I" 'image-dired-dired-display-external
|
:desc "Open image externally" "I" 'image-dired-dired-display-external
|
||||||
)
|
)
|
||||||
(map! :map wdired-mode-map
|
(map! :map wdired-mode-map
|
||||||
|
@ -421,6 +427,9 @@ Version 2019-11-04 2021-02-16"
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(use-package! dired-icon
|
||||||
|
:hook dired-mode)
|
||||||
|
|
||||||
(after! spell-fu
|
(after! spell-fu
|
||||||
(remove-hook 'text-mode-hook #'spell-fu-mode)
|
(remove-hook 'text-mode-hook #'spell-fu-mode)
|
||||||
)
|
)
|
||||||
|
|
|
@ -145,7 +145,7 @@
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
nix ; I hereby declare "nix geht mehr!"
|
nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
(org +noter +dragndrop +present +roam +journal) ; organize your plain life in plain text
|
(org +pretty +dragndrop +journal +roam2 +pomodoro +noter +present +pandoc) ; organize your plain life in plain text
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
|
|
|
@ -52,14 +52,18 @@
|
||||||
(package! emms)
|
(package! emms)
|
||||||
|
|
||||||
(unpin! org-journal)
|
(unpin! org-journal)
|
||||||
|
(package! ox-context
|
||||||
|
:recipe (:host github :repo "Jason-S-Ross/ox-context"))
|
||||||
|
|
||||||
|
(package! evil-tutor) ; dark vim tutor
|
||||||
(package! evil-args) ; motions in args
|
(package! evil-args) ; motions in args
|
||||||
(package! evil-replace-with-register) ; grrrrr
|
(package! evil-replace-with-register) ; grrrrr
|
||||||
;(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! dired-icon)
|
||||||
|
|
||||||
(package! activity-watch-mode)
|
(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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue