From 26cbb9c985c0890fd66e0f6878c109e974730f2c Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 18 Sep 2023 15:06:41 -0700 Subject: [PATCH] Updates to dired, magit, proced, etc. --- init.el | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 0884565..874f50e 100644 --- a/init.el +++ b/init.el @@ -235,9 +235,33 @@ :init (set eldoc-echo-area-use-multiline-p nil)) +;; vterm (use-package vterm - :bind (:map evil-normal-state-map - ("M-v" . vterm))) + :bind ("M-RET" . vterm)) + +;; proced +(use-package proced + :bind ("C-x o" . proced) + :init + (evil-define-key '(normal visual motion) proced-mode-map + "zf" #'proced-filter-interactive + "zF" #'proced-format-interactive) + (setq proced-auto-update-flag t + proced-auto-update-interval 1)) + +;; dired +(use-package dired + :ensure nil + :init + (evil-define-key '(normal visual motion) dired-mode-map + "u" #'dired-unmark + "U" #'dired-unmark-all-marks) + (evil-define-key '(normal visual motion) wdired-mode-map + "u" #'dired-unmark + "U" #'dired-unmark-all-marks)) + +;; magit +(use-package magit) ;; Theme (doom-themes) (use-package doom-themes