summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-10-13 11:18:49 +0300
committerThanosApollo <[email protected]>2022-10-13 11:18:49 +0300
commit05f6ee5fdc4605fd1edfc67b16ca01c24b89d4df (patch)
treea257dbab4e984d9b6042335c27f0c1e2211548ba /.config
parent85c79714b98323a4c7c1080ae767e939b50891d1 (diff)
Fix dired key bindings
Diffstat (limited to '.config')
-rw-r--r--.config/doom/diredConfig.el18
1 files changed, 6 insertions, 12 deletions
diff --git a/.config/doom/diredConfig.el b/.config/doom/diredConfig.el
index 57dda32..45cd689 100644
--- a/.config/doom/diredConfig.el
+++ b/.config/doom/diredConfig.el
@@ -1,15 +1,9 @@
;;; diredConfig.el -*- lexical-binding: t; -*-
-(use-package dired
- :ensure nil
- :commands (dired dired-jump)
- :bind (("C-x C-j" . dired-jump))
- :config
- (evil-collection-define-key 'normal' dired-mode-map
- "h" 'dired-up-directory
- "l" 'dired-find-file
- "R" 'dired-do-rename
- "D" 'dired-do-delete
- "m" 'dired-mark
- ))
+(evil-define-key 'normal dired-mode-map
+ (kbd "h") 'dired-up-directory
+ (kbd "l") 'dired-find-file
+ (kbd "m") 'dired-mark
+ (kbd "R") 'dired-do-rename
+ (kbd "D") 'dired-delete-file)