diff --git a/contrib/fasd/README.md b/contrib/fasd/README.md new file mode 100644 index 000000000..200496e58 --- /dev/null +++ b/contrib/fasd/README.md @@ -0,0 +1,19 @@ +# fasd contribution layer for Spacemacs + +## Install + +To use this contribution add it to your `~/.spacemacs` + +```elisp +(setq-default dotspacemacs-configuration-layers '(fasd) + "List of contribution to load." +) +``` + +This simply adds the fasd-emacs and a single keybinding + +## Keybindings + +Key Binding | Description +--------------------|------------------------------------------------------------------ +SPC f z | find a file with fasd diff --git a/contrib/fasd/packages.el b/contrib/fasd/packages.el new file mode 100644 index 000000000..655456a3b --- /dev/null +++ b/contrib/fasd/packages.el @@ -0,0 +1,27 @@ +(defvar fasd-packages + '( + fasd + ;; package fasds go here + ) + "List of all packages to install and/or initialize. Built-in packages +which require an initialization must be listed explicitly in the list.") + +(defvar fasd-excluded-packages '() + "List of packages to exclude.") + +(defun fasd/init-fasd () + "initializes fasd-emacs and adds a key binding to " + (use-package fasd + :init + (progn + (global-fasd-mode 1) + (evil-leader/set-key "fz" 'fasd-find-file)))) +;; For each package, define a function fasd/init- +;; +;; (defun fasd/init-my-package () +;; "Initialize my package" +;; ) +;; +;; Often the body of an initialize function uses `use-package' +;; For more info on `use-package', see readme: +;; https://github.com/jwiegley/use-package