added fasd contribution layer
This commit is contained in:
parent
0f958b7f7a
commit
191fda7c01
19
contrib/fasd/README.md
Normal file
19
contrib/fasd/README.md
Normal file
|
@ -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
|
||||
--------------------|------------------------------------------------------------------
|
||||
<kbd>SPC f z</kbd> | find a file with fasd
|
27
contrib/fasd/packages.el
Normal file
27
contrib/fasd/packages.el
Normal file
|
@ -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 <SPC f z>"
|
||||
(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-<package-fasd>
|
||||
;;
|
||||
;; (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
|
Loading…
Reference in a new issue