diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-02-24 11:58:13 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-02-24 11:58:13 +0100 |
commit | 95892d1ca3cd0f021fbb44fd58e46d9a4792c172 (patch) | |
tree | 894839bd4fc87884fe5bc4e0b5cb32eec7336bee | |
parent | Dotfiles: Emacs: use updated config (diff) | |
download | nixos-config-95892d1ca3cd0f021fbb44fd58e46d9a4792c172.tar.gz nixos-config-95892d1ca3cd0f021fbb44fd58e46d9a4792c172.tar.bz2 nixos-config-95892d1ca3cd0f021fbb44fd58e46d9a4792c172.zip |
Dotfiles: Emacs: rebind keys
-rw-r--r-- | dotfiles/.emacs | 12 |
1 files changed, 9 insertions, 3 deletions
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) |