diff options
author | Case Duckworth | 2021-04-06 12:46:04 -0500 |
---|---|---|
committer | Case Duckworth | 2021-04-06 12:46:04 -0500 |
commit | 36808084774d023bd4ced40656df8e4ff4dab9fa (patch) | |
tree | d7d10de0228a1a369585df23efc44816b36316c0 | |
parent | Unwrap `flyspell-correct' from the `when (executable-find ...' (diff) | |
download | emacs-36808084774d023bd4ced40656df8e4ff4dab9fa.tar.gz emacs-36808084774d023bd4ced40656df8e4ff4dab9fa.zip |
Add more dired-subtree maps
-rw-r--r-- | init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/init.el b/init.el index aa35f34..09a4fe8 100644 --- a/init.el +++ b/init.el | |||
@@ -474,8 +474,11 @@ | |||
474 | (:global "C-x C-j" dired-jump) | 474 | (:global "C-x C-j" dired-jump) |
475 | (:bind "RET" dired-find-alternate-file) | 475 | (:bind "RET" dired-find-alternate-file) |
476 | (with-eval-after-load 'dired | 476 | (with-eval-after-load 'dired |
477 | |||
477 | (setup (:straight dired-subtree) | 478 | (setup (:straight dired-subtree) |
478 | (define-key dired-mode-map "i" #'dired-subtree-toggle)) | 479 | (:with-map dired-mode-map |
480 | (:bind "i" dired-subtree-toggle | ||
481 | "TAB" dired-subtree-cycle))) | ||
479 | 482 | ||
480 | (setup (:straight dired-collapse) | 483 | (setup (:straight dired-collapse) |
481 | (:hook-into dired-mode)) | 484 | (:hook-into dired-mode)) |