spacemacs/layers/+tools/fasd
Daniel Nicolai d5b6df3584
Add commands to compleseus layer (locate, yasnippet, search from) (#15078)
* Add commands to compleseus+fasd layer (locate,yasnippet,search-from)

* Add metadata classifier (for embark) to fasd-layer

Embark uses metadata of the target under point to determine actions. If the
target lacks a metadata classifier then the [embark
documentation](https://github.com/oantolin/embark#acting-on-targets) recommends
to [add them using the marginalia package](https://github.com/minad/marginalia#adding-custom-annotators-or-classifiers).

This PR adds the file classifier to results for fasd searches.
2021-11-02 22:50:32 +01:00
..
README.org documentation formatting: Sun Feb 7 22:30:25 UTC 2021 2021-02-08 03:32:07 +02:00
funcs.el fasd layer: fasd & open in a layout (#15126) 2021-11-02 21:55:04 +01:00
packages.el Add commands to compleseus layer (locate, yasnippet, search from) (#15078) 2021-11-02 22:50:32 +01:00

README.org

fasd layer

Description

This layer integrates the 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

fasd must be installed on your system. The general installation instructions can be found in the repository README

On macOS, it can be installed via homebrew:

  $ brew install fasd

Comment

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.

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