From 05f6ee5fdc4605fd1edfc67b16ca01c24b89d4df Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Thu, 13 Oct 2022 11:18:49 +0300 Subject: Fix dired key bindings --- .config/doom/diredConfig.el | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to '.config/doom/diredConfig.el') 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) -- cgit v1.2.3