diff options
-rw-r--r-- | init.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/init.el b/init.el index 06ccbfb..ef8cdef 100644 --- a/init.el +++ b/init.el | |||
@@ -510,10 +510,11 @@ | |||
510 | (:global "C-x C-j" dired-jump) | 510 | (:global "C-x C-j" dired-jump) |
511 | (:bind "RET" dired-find-alternate-file) | 511 | (:bind "RET" dired-find-alternate-file) |
512 | (with-eval-after-load 'dired | 512 | (with-eval-after-load 'dired |
513 | 513 | (pcase acdw/system | |
514 | (when (eq acdw/system :work) | 514 | (:work (setup (:straight w32-browser) |
515 | (setup (:straight w32-browser) | 515 | (define-key dired-mode-map (kbd "RET") #'dired-w32-browser))) |
516 | (define-key dired-mode-map (kbd "RET") #'dired-w32-browser))) | 516 | (:home (setup (:straight dired-open) |
517 | (:option (prepend dired-open-functions) dired-open-xdg)))) | ||
517 | 518 | ||
518 | (setup (:straight dired-subtree) | 519 | (setup (:straight dired-subtree) |
519 | (:with-map dired-mode-map | 520 | (:with-map dired-mode-map |