Minor Changes
- Re-format emacs commands as code - Simplify projectile project search path
This commit is contained in:
11
README.org
11
README.org
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
My personal configuration of Emacs, written as an [[https://orgmode.org][Org Mode]] document.
|
My personal configuration of Emacs, written as an [[https://orgmode.org][Org Mode]] document.
|
||||||
|
|
||||||
Run the block below with `C-c C-c` to tangle code blocks to config file.
|
Run the block below with ~C-c C-c~ to tangle code blocks to config file.
|
||||||
|
|
||||||
#+begin_src emacs-lisp :tangle no
|
#+begin_src emacs-lisp :tangle no
|
||||||
(org-mode-restart)
|
(org-mode-restart)
|
||||||
@@ -206,7 +206,7 @@ Add ligature support for Fira Code font.
|
|||||||
need to run the following command interactively so that mode line icons
|
need to run the following command interactively so that mode line icons
|
||||||
display correctly:
|
display correctly:
|
||||||
|
|
||||||
`M-x all-the-icons-install-fonts`
|
~M-x all-the-icons-install-fonts~
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Icon Fonts
|
;; Icon Fonts
|
||||||
@@ -596,6 +596,7 @@ Add ~#+auto_tangle: t~ to the org document to enable this.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Projectile
|
** Projectile
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Projectile
|
;; Projectile
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
@@ -605,12 +606,10 @@ Add ~#+auto_tangle: t~ to the org document to enable this.
|
|||||||
:bind-keymap
|
:bind-keymap
|
||||||
("C-c p" . projectile-command-map)
|
("C-c p" . projectile-command-map)
|
||||||
:init
|
:init
|
||||||
(when (file-directory-p "~/Projects")
|
(setq projectile-project-search-path '("~/Projects/" "~/.config/" "~/.xmonad/"))
|
||||||
(setq projectile-project-search-path '("~/Projects/Personal" "~/Projects/UMICH")))
|
|
||||||
(when (file-directory-p "~/.config")
|
|
||||||
(setq projectile-project-search-path '("~/.config")))
|
|
||||||
(setq projectile-switch-project-action #'projectile-dired))
|
(setq projectile-switch-project-action #'projectile-dired))
|
||||||
|
|
||||||
|
|
||||||
(use-package counsel-projectile
|
(use-package counsel-projectile
|
||||||
:config (counsel-projectile-mode))
|
:config (counsel-projectile-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
6
init.el
6
init.el
@@ -442,12 +442,10 @@
|
|||||||
:bind-keymap
|
:bind-keymap
|
||||||
("C-c p" . projectile-command-map)
|
("C-c p" . projectile-command-map)
|
||||||
:init
|
:init
|
||||||
(when (file-directory-p "~/Projects")
|
(setq projectile-project-search-path '("~/Projects/" "~/.config/" "~/.xmonad/"))
|
||||||
(setq projectile-project-search-path '("~/Projects/Personal" "~/Projects/UMICH")))
|
|
||||||
(when (file-directory-p "~/.config")
|
|
||||||
(setq projectile-project-search-path '("~/.config")))
|
|
||||||
(setq projectile-switch-project-action #'projectile-dired))
|
(setq projectile-switch-project-action #'projectile-dired))
|
||||||
|
|
||||||
|
|
||||||
(use-package counsel-projectile
|
(use-package counsel-projectile
|
||||||
:config (counsel-projectile-mode))
|
:config (counsel-projectile-mode))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user