An Emacs package to integrate Fasd.
Fasd is a command-line productivity booster that offers quick access to files and directories for POSIX shells. It is inspired by tools like autojump, z and v. Fasd keeps track of files and directories you have accessed, so that you can quickly reference them in the command line.
(quelpa '(quick-fasd :repo "jamescherti/quick-fasd.el" :fetcher github))
(Interactively: M-x quelpa fasd RET
.)
Example recipe for el-get:
(:name quick-fasd
:type github
:url "https://github.com/jamescherti/quick-fasd.el"
:postinit (progn
(global-set-key (kbd "C-h C-/") 'quick-fasd-find-file)
(quick-fasd-mode 1)))
Add a shortcut key for quick-fasd-find-file
and enable the quick-fasd-mode
which makes sure that opening files or directories in Emacs updates the fasd database.
(global-set-key (kbd "C-h C-/") 'quick-fasd-find-file)
(quick-fasd-mode 1)
Calling quick-fasd-find-file
with a prefix argument of
C-u
lists only directoriesM--
lists only files
With no prefix it shows files and directories.
Use the customize interface:
M-x customize-group RET fasd RET
Usually fasd
will prompt for a initial query. To turn that off and get all results directly, set quick-fasd-enable-initial-prompt
to nil
.
By default the standard completing-read-function
will be used, which could be using helm
or ido
depending on what you are using.
By default the fasd
search parameter is -a
which searches files and directories, you can customize this with the quick-fasd-standard-search
option.