Fix to the projectile's ability to find projects
This commit is contained in:
parent
911b2ef4ce
commit
38b5490bbe
2 changed files with 28 additions and 28 deletions
|
@ -1146,32 +1146,34 @@ While editing any file on disk is easy enough, I like the mental context switch
|
||||||
While I really don't /need/ all the features that [[https://github.com/bbatsov/projectile][projectile]] provides, it has all the features I do need, and is easy enough to install. I am referring to the fact that I /could/ use the built-in =project.el= system (see [[https://cestlaz.github.io/post/using-emacs-79-project/][this essay]] for details on what I mean as an alternative).
|
While I really don't /need/ all the features that [[https://github.com/bbatsov/projectile][projectile]] provides, it has all the features I do need, and is easy enough to install. I am referring to the fact that I /could/ use the built-in =project.el= system (see [[https://cestlaz.github.io/post/using-emacs-79-project/][this essay]] for details on what I mean as an alternative).
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:custom
|
:custom
|
||||||
(projectile-sort-order 'recentf)
|
(projectile-sort-order 'recentf)
|
||||||
:config
|
(projectile-project-root-functions '(projectile-root-bottom-up))
|
||||||
(ha-leader
|
|
||||||
"p" '(:ignore t :which-key "projects")
|
:config
|
||||||
"p W" '("initialize workspace" . ha-workspace-initialize)
|
(ha-leader
|
||||||
"p n" '("new project space" . ha-project-persp)
|
"p" '(:ignore t :which-key "projects")
|
||||||
"p !" '("run cmd in project root" . projectile-run-shell-command-in-root)
|
"p W" '("initialize workspace" . ha-workspace-initialize)
|
||||||
"p &" '("async cmd in project root" . projectile-run-async-shell-command-in-root)
|
"p n" '("new project space" . ha-project-persp)
|
||||||
"p a" '("add new project" . projectile-add-known-project)
|
"p !" '("run cmd in project root" . projectile-run-shell-command-in-root)
|
||||||
"p b" '("switch to project buffer" . projectile-switch-to-buffer)
|
"p &" '("async cmd in project root" . projectile-run-async-shell-command-in-root)
|
||||||
"p c" '("compile in project" . projectile-compile-project)
|
"p a" '("add new project" . projectile-add-known-project)
|
||||||
"p C" '("repeat last command" . projectile-repeat-last-command)
|
"p b" '("switch to project buffer" . projectile-switch-to-buffer)
|
||||||
"p d" '("remove known project" . projectile-remove-known-project)
|
"p c" '("compile in project" . projectile-compile-project)
|
||||||
"p e" '("edit project .dir-locals" . projectile-edit-dir-locals)
|
"p C" '("repeat last command" . projectile-repeat-last-command)
|
||||||
"p f" '("find file in project" . projectile-find-file)
|
"p d" '("remove known project" . projectile-remove-known-project)
|
||||||
"p g" '("configure project" . projectile-configure-project)
|
"p e" '("edit project .dir-locals" . projectile-edit-dir-locals)
|
||||||
"p i" '("invalidate project cache" . projectile-invalidate-cache)
|
"p f" '("find file in project" . projectile-find-file)
|
||||||
"p k" '("kill project buffers" . projectile-kill-buffers)
|
"p g" '("configure project" . projectile-configure-project)
|
||||||
"p o" '("find other file" . projectile-find-other-file)
|
"p i" '("invalidate project cache" . projectile-invalidate-cache)
|
||||||
"p p" '("switch project" . projectile-switch-project)
|
"p k" '("kill project buffers" . projectile-kill-buffers)
|
||||||
"p r" '("find recent project files" . projectile-recentf)
|
"p o" '("find other file" . projectile-find-other-file)
|
||||||
"p R" '("run project" . projectile-run-project)
|
"p p" '("switch project" . projectile-switch-project)
|
||||||
"p S" '("save project files" . projectile-save-project-buffers)
|
"p r" '("find recent project files" . projectile-recentf)
|
||||||
"p T" '("test project" . projectile-test-project)))
|
"p R" '("run project" . projectile-run-project)
|
||||||
|
"p S" '("save project files" . projectile-save-project-buffers)
|
||||||
|
"p T" '("test project" . projectile-test-project)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Workspaces
|
** Workspaces
|
||||||
A /workspace/ (at least to me) requires a quick jump to a collection of buffer windows organized around a project or task. For this, I'm basing my work on the [[https://github.com/nex3/perspective-el][perspective.el]] project.
|
A /workspace/ (at least to me) requires a quick jump to a collection of buffer windows organized around a project or task. For this, I'm basing my work on the [[https://github.com/nex3/perspective-el][perspective.el]] project.
|
||||||
|
|
|
@ -179,8 +179,6 @@ Now I’m getting obsessive with elongating dashes:
|
||||||
(t (insert "-")))))
|
(t (insert "-")))))
|
||||||
|
|
||||||
(define-key org-mode-map "-" #'ha-insert-long-dash)
|
(define-key org-mode-map "-" #'ha-insert-long-dash)
|
||||||
|
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Org Beautify
|
* Org Beautify
|
||||||
I really want to use the Org Beautify package, but it overrides my darker themes (and all I really want is headlines to behave).
|
I really want to use the Org Beautify package, but it overrides my darker themes (and all I really want is headlines to behave).
|
||||||
|
|
Loading…
Reference in a new issue