Move Projectile config to its own section
This commit is contained in:
parent
e17223828e
commit
38fdccda58
@ -1269,6 +1269,45 @@ This is a Termux-specific override.
|
|||||||
url))))))
|
url))))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* Project management
|
||||||
|
|
||||||
|
** ~projectile~
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package projectile
|
||||||
|
:demand t
|
||||||
|
:delight '(:eval (concat " [" projectile-project-name "]"))
|
||||||
|
:config
|
||||||
|
(projectile-mode t)
|
||||||
|
:bind
|
||||||
|
(:map mode-specific-map
|
||||||
|
("p" . projectile-command-map)))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
** ~projectile-speedbar~
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package projectile-speedbar
|
||||||
|
:after (:all projectile sr-speedbar)
|
||||||
|
:bind
|
||||||
|
(:map projectile-mode-map
|
||||||
|
("C-c p B" . projectile-speedbar-toggle)))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
** ~org-projectile~ for per-repository ToDo files using Org
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package org-projectile
|
||||||
|
:after (:all projectile org)
|
||||||
|
:bind
|
||||||
|
(:map projectile-command-map
|
||||||
|
("n" . org-projectile-project-todo-completing-read))
|
||||||
|
:custom
|
||||||
|
(org-projectile-projects-file (expand-file-name "projects.org" org-directory))
|
||||||
|
:config
|
||||||
|
(push (org-projectile-project-todo-entry) org-capture-templates))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Custom commands and functions
|
* Custom commands and functions
|
||||||
|
|
||||||
** Frame manipulation
|
** Frame manipulation
|
||||||
@ -1630,34 +1669,6 @@ Because one is never enough.
|
|||||||
("C-c s k" . sp-kill-sexp)))
|
("C-c s k" . sp-kill-sexp)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Projectile
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package projectile
|
|
||||||
:delight '(:eval (concat " [" projectile-project-name "]"))
|
|
||||||
:pin melpa-stable
|
|
||||||
:config
|
|
||||||
(projectile-mode t)
|
|
||||||
:bind
|
|
||||||
(:map projectile-mode-map
|
|
||||||
("C-c p" . projectile-command-map)))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
*** Repository-based ToDo management with Org mode
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package org-projectile
|
|
||||||
:after (:all projectile org)
|
|
||||||
:defer t
|
|
||||||
:bind
|
|
||||||
(:map projectile-command-map
|
|
||||||
("n" . org-projectile-project-todo-completing-read))
|
|
||||||
:custom
|
|
||||||
(org-projectile-projects-file (expand-file-name "projects.org" org-directory))
|
|
||||||
:config
|
|
||||||
(push (org-projectile-project-todo-entry) org-capture-templates))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** Text object manipulation
|
** Text object manipulation
|
||||||
|
|
||||||
From the package description:
|
From the package description:
|
||||||
@ -2019,16 +2030,6 @@ accompanying function will be added to ~mu4e-view-mode-hook~.
|
|||||||
:after speedbar)
|
:after speedbar)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Speedbar for projectile
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package projectile-speedbar
|
|
||||||
:after (:all projectile sr-speedbar)
|
|
||||||
:bind
|
|
||||||
(:map projectile-mode-map
|
|
||||||
("C-c p B" . projectile-speedbar-toggle)))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** Kubernetes dashboard
|
** Kubernetes dashboard
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
Loading…
Reference in New Issue
Block a user