Minor, general refactors
This commit is contained in:
parent
e47d357e56
commit
f4e641950c
2 changed files with 2 additions and 2 deletions
|
@ -279,7 +279,7 @@ If prefix ARG is set, prompt for a known project to search from."
|
||||||
"")))
|
"")))
|
||||||
(let ((default-directory
|
(let ((default-directory
|
||||||
(if arg
|
(if arg
|
||||||
(if-let* ((projects (projectile-relevant-known-projects)))
|
(if-let (projects (projectile-relevant-known-projects))
|
||||||
(completing-read "Switch to project: " projects
|
(completing-read "Switch to project: " projects
|
||||||
nil t nil nil (doom-project-root))
|
nil t nil nil (doom-project-root))
|
||||||
(user-error "There are no known projects"))
|
(user-error "There are no known projects"))
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
(use-package! winum
|
(use-package! winum
|
||||||
:when (featurep! +numbers)
|
:when (featurep! +numbers)
|
||||||
:after-call (doom-switch-window-hook)
|
:after-call doom-switch-window-hook
|
||||||
:config
|
:config
|
||||||
(winum-mode +1)
|
(winum-mode +1)
|
||||||
(map! :map evil-window-map
|
(map! :map evil-window-map
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue