1
0
Fork 0

fix(emacs): make projectile work on first try

For some reason, removing those two lines from `misc.el` prevents
projectile from "working" on the first try when opening up for
projects... As in, there is no completion in the minibuffer.
This commit is contained in:
Lucas Sta Maria 2024-08-24 17:53:48 -07:00
parent 9f17186661
commit 9a73e08a2f
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
2 changed files with 4 additions and 4 deletions

View file

@ -182,6 +182,9 @@
;; Magit ;; Magit
(setq auth-sources '("~/.authinfo")) (setq auth-sources '("~/.authinfo"))
(projectile-mode +1)
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
;; hledger ;; hledger
(setq hledger-currency-string "$") (setq hledger-currency-string "$")
(add-to-list 'auto-mode-alist '("\\.journal\\'" . hledger-mode)) (add-to-list 'auto-mode-alist '("\\.journal\\'" . hledger-mode))

View file

@ -71,10 +71,7 @@
:hook (prog-mode . ws-butler-mode)) :hook (prog-mode . ws-butler-mode))
;; Convenience ;; Convenience
(use-package projectile :straight t (use-package projectile :straight t)
:bind (("C-c p" . 'projectile-command-map))
:init
(projectile-mode))
(use-package bufler :straight t (use-package bufler :straight t
:bind (("C-x C-b" . bufler-list) :bind (("C-x C-b" . bufler-list)
("C-x b" . bufler-switch-buffer)) ("C-x b" . bufler-switch-buffer))