diff options
Diffstat (limited to '.emacs.d/lisp/init-misc.el')
-rw-r--r-- | .emacs.d/lisp/init-misc.el | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el index fd488a6..0e34af4 100644 --- a/.emacs.d/lisp/init-misc.el +++ b/.emacs.d/lisp/init-misc.el @@ -74,7 +74,6 @@ (kbd "<leader>fb") 'ivy-switch-buffer (kbd "<leader>fm") 'counsel-recentf (kbd "<leader>fc") 'counsel-M-x - (kbd "<leader>ff") 'counsel-find-file (kbd "<leader>fl") 'swiper) (global-set-key (kbd "C-c C-r") 'ivy-resume) :config @@ -106,14 +105,18 @@ (use-package projectile :init - (evil-define-key 'normal projectile-mode-map - (kbd "<leader>p") 'projectile-command-map) + (evil-define-key 'normal projectile-mode-map + (kbd "<leader>p") 'projectile-command-map + (kbd "<leader>ff") 'projectile-find-file + (kbd "<leader>fr") 'projectile-ripgrep) + (setq projectile-cache-file (expand-file-name ".cache/projectile" user-emacs-directory) + projectile-require-project-root nil) :config - (setq projectile-cache-file (expand-file-name ".cache/projectile" user-emacs-directory)) (projectile-mode 1)) (use-package rg - :ensure t) + :ensure t + :commands (rg rg-menu)) (use-package esup :ensure t |