Apple renamed "Mac OS X" to "OS X" in 2012 and then to "macOS" in 2016. Update references to use the current name.
44 lines
1.3 KiB
Org Mode
44 lines
1.3 KiB
Org Mode
#+TITLE: fasd layer
|
|
|
|
#+TAGS: layer|tool
|
|
|
|
* Table of Contents :TOC_5_gh:noexport:
|
|
- [[#description][Description]]
|
|
- [[#features][Features:]]
|
|
- [[#install][Install]]
|
|
- [[#layer][Layer]]
|
|
- [[#fasd][fasd]]
|
|
- [[#key-bindings][Key bindings]]
|
|
|
|
* Description
|
|
This layer integrates the [[https://github.com/clvv/fasd][fasd]] command line tool into Spacemacs.
|
|
|
|
** Features:
|
|
- Adds easy shortcuts to reference recent files and directories.
|
|
- Provides =fasd= with recent open file lists from Emacs.
|
|
- Allows to filter =fasd= results with =helm= or =ivy=.
|
|
|
|
* Install
|
|
** Layer
|
|
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
|
|
add =fasd= to the existing =dotspacemacs-configuration-layers= list in this
|
|
file.
|
|
|
|
** fasd
|
|
[[https://github.com/clvv/fasd][fasd]] must be installed on your system. The general installation
|
|
instructions can be found in the repository [[https://github.com/clvv/fasd#install][README]]
|
|
|
|
On macOS, it can be installed via [[https://github.com/Homebrew/legacy-homebrew][homebrew]]:
|
|
|
|
#+BEGIN_SRC sh
|
|
$ brew install fasd
|
|
#+END_SRC
|
|
|
|
* Key bindings
|
|
|
|
| Key binding | Description |
|
|
|-------------+------------------------------------|
|
|
| ~SPC f a s~ | find a file or directory with fasd |
|
|
| ~SPC f a d~ | find a directory with fasd |
|
|
| ~SPC f a f~ | find a file with fasd |
|