From 95892d1ca3cd0f021fbb44fd58e46d9a4792c172 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 24 Feb 2024 11:58:13 +0100 Subject: Dotfiles: Emacs: rebind keys --- dotfiles/.emacs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'dotfiles') diff --git a/dotfiles/.emacs b/dotfiles/.emacs index 36d3638..a6a146b 100644 --- a/dotfiles/.emacs +++ b/dotfiles/.emacs @@ -17,6 +17,9 @@ (straight-use-package-by-default t)) ;; bootstrap straight end +(use-package which-key + :ensure t) + (use-package evil :ensure t :init @@ -107,8 +110,9 @@ (use-package helm-projectile :ensure t :config - (helm-projectile-on)) - + (helm-projectile-on) + :bind + (:map evil-normal-state-map ("C-p" . helm-projectile-find-file))) (use-package company :ensure t :config @@ -149,7 +153,9 @@ (add-hook 'go-mode-hook 'lsp-deferred)) (use-package dired-sidebar - :ensure t) + :ensure t + :bind + (:map evil-normal-state-map ("C-b" . dired-sidebar-toggle-sidebar))) (eval-after-load 'dired '(evil-define-key 'normal dired-mode-map [mouse-2] 'dired-mouse-find-file) -- cgit 1.4.1