2015-12-02 14:23:39 +00:00
|
|
|
#+TITLE: fasd layer
|
2015-06-10 16:44:30 +00:00
|
|
|
|
2019-05-02 21:49:30 +00:00
|
|
|
#+TAGS: layer|tool
|
|
|
|
|
2019-05-07 20:05:06 +00:00
|
|
|
* Table of Contents :TOC_5_gh:noexport:
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#description][Description]]
|
2018-01-07 22:26:54 +00:00
|
|
|
- [[#features][Features:]]
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#install][Install]]
|
|
|
|
- [[#layer][Layer]]
|
|
|
|
- [[#fasd][fasd]]
|
2020-12-31 00:07:57 +00:00
|
|
|
- [[#comment][Comment]]
|
2018-10-23 14:18:21 +00:00
|
|
|
- [[#key-bindings][Key bindings]]
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
* Description
|
2019-06-01 17:13:30 +00:00
|
|
|
This layer integrates the [[https://github.com/clvv/fasd][fasd]] command line tool into Spacemacs.
|
2015-06-10 16:44:30 +00:00
|
|
|
|
2018-01-07 22:26:54 +00:00
|
|
|
** Features:
|
|
|
|
- Adds easy shortcuts to reference recent files and directories.
|
2019-06-01 17:13:30 +00:00
|
|
|
- Provides =fasd= with recent open file lists from Emacs.
|
2018-01-07 22:26:54 +00:00
|
|
|
- Allows to filter =fasd= results with =helm= or =ivy=.
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
* Install
|
2016-04-13 03:31:38 +00:00
|
|
|
** Layer
|
2016-01-06 05:21:55 +00:00
|
|
|
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.
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
** 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]]
|
|
|
|
|
2019-10-13 05:27:17 +00:00
|
|
|
On macOS, it can be installed via [[https://github.com/Homebrew/legacy-homebrew][homebrew]]:
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
#+BEGIN_SRC sh
|
|
|
|
$ brew install fasd
|
|
|
|
#+END_SRC
|
|
|
|
|
2020-12-31 00:07:57 +00:00
|
|
|
* Comment
|
2021-02-07 22:30:25 +00:00
|
|
|
The fasd package has been updated to support Ivy actions (~M-o~). This layer
|
|
|
|
adds an Ivy action to start a deep search in a directory
|
|
|
|
(~spacemacs/search-auto~) from the fasd results. After the fasd query,
|
|
|
|
instead of enter, type ~M-o~ on some directory then press ~s~ to start a
|
|
|
|
deep search in that directory.
|
2020-12-31 00:07:57 +00:00
|
|
|
|
2018-10-23 14:18:21 +00:00
|
|
|
* Key bindings
|
2015-06-10 16:44:30 +00:00
|
|
|
|
2018-12-05 03:03:03 +00:00
|
|
|
| Key binding | Description |
|
2015-06-10 16:44:30 +00:00
|
|
|
|-------------+------------------------------------|
|
|
|
|
| ~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 |
|