Make fasd actually load if installed

This commit is contained in:
Adam Goldsmith 2020-08-12 20:23:52 -04:00
parent abf78614b2
commit 4e6edf9535
1 changed files with 3 additions and 3 deletions

View File

@ -734,10 +734,10 @@
(replace-regexp "$" " \\\\\\\\" nil beg (point-at-eol))
(align beg (point))))))
(use-package fasd
(use-package fasd :if (package-installed-p 'fasd)
:bind ("C-x C-S-f" . fasd-find-file)
:init (global-fasd-mode 1)
:config
(global-fasd-mode 1)
(bind-key "C-x C-S-f" 'fasd-find-file)
(setq fasd-enable-initial-prompt nil
fasd-completing-read-function 'ivy-completing-read))