;;; GOD HELP ME after thirty odd years I STILL do BOTH OF THESE by accident sometimes
(bind-key "C-x C-c" (lambda () (interactive) (message "You almost exited!")))
(bind-key "C-x C-z" (lambda () (interactive) (message "You almost suspended!")))
;;; GOD HELP ME after thirty odd years I STILL do BOTH OF THESE by accident sometimes
(bind-key "C-x C-c" (lambda () (interactive) (message "You almost exited!")))
(bind-key "C-x C-z" (lambda () (interactive) (message "You almost suspended!")))
Changing jobs is a good excuse to refactor my #dotemacs once again.
Magic! Now I, with a working projectile, have:
1. Quick switch between projects (C-c p p)
2. Quick find file inside a project with partial filename completion (C-c p f)
3. Compile of the current project (C-c p c)
4. rgrep through the current project (C-c p s g)
5. go to symbol definition (using TAGS) (C-c p j)
And more, but those are the ones that I use the most.
What I most miss, are commands limited to a single module in maven multimodule projects.
But then, in januay/februry of 2021 I did three things
1. Switched off indexing of the project directories on projectile startup (this was where emacs spent its time during the glacial startup)
2. Switched on projectile project caching
3. Generated TAGS files from projectile (and fixed the TAGS files for javascript)
In march 2020 (according to the git log on my .emacs) I started trying to use projectile.
My initial attempts at using it weren't successful: I found it slow and confusing.
It was so slow on windows, that I had to remove it from emacs on windows even on my fast work laptop.
And startup in an emacs with desktop restore on my home debian desktop computer, was glacial.
I cleaned up my emacs literal configuration a bit:
https://github.com/mdallastella/.emacs.d/blob/master/emacs.org
(I know, I still use github...)