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.
1.7 KiB
1.7 KiB
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 withhelm
orivy
.
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.
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 |