diff options
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/fcuny-navigation.el | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/emacs/custom/fcuny-navigation.el b/emacs/custom/fcuny-navigation.el index 2258b98..f168268 100644 --- a/emacs/custom/fcuny-navigation.el +++ b/emacs/custom/fcuny-navigation.el @@ -2,22 +2,18 @@ (setq help-window-select t) -(use-package projectile - :diminish projectile-mode +(use-package project :ensure t - :bind-keymap ("C-c p" . projectile-command-map) - :after (ivy) - :config - (setq projectile-known-projects-file - (expand-file-name "projectile-bookmarks.eld" fcuny/path-emacs-var)) - (setq projectile-completion-system 'ivy) - (projectile-mode)) - -(use-package counsel-projectile - :ensure t - :after (projectile ivy) - :config - (counsel-projectile-mode 1)) + :bind-keymap ("C-c p" . project-prefix-map) + :custom + (project-list-file (expand-file-name "projects" fcuny/path-emacs-var)) + (project-switch-commands + '((?f "File" project-find-file) + (?d "Dired" project-dired) + (?b "Buffer" project-switch-to-buffer) + (?e "Eshell" project-eshell) + (?m "Magit status" magit-project-status) + (?r "Search" rg-project)))) (use-package bookmark :custom |