This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/fasd
Daniel Nicolai dfd5532429
Add search-from ivy action to fasd layer
If I had known about browsing history with `C-r` before [I modified the fasd
package to implement full ivy
support](c4c04873fd),
then I guess I would not have modified it. Anyway, now that "full Ivy support"
has been merged into the fasd package, I could add this 'search-from' action
command to `fasd-find-file` which triggers Spacemacs 'search-auto'. Because fasd
only finds dirs that have been visited before, it probably does not add much to
the `C-r` functionality, but maybe it does (you decide?). Anyway, I hope you can
help decide if this is useful for merging.
2021-02-07 22:31:05 +01:00
..
funcs.el Add search-from ivy action to fasd layer 2021-02-07 22:31:05 +01:00
packages.el [fasd] Fix bug in fasd-find-directory-only 2020-09-14 18:34:38 +02:00
README.org Add search-from ivy action to fasd layer 2021-02-07 22:31:05 +01:00

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