Skip to content

jamescherti/quick-fasd.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

quick-fasd.el - An Emacs package to integrate Fasd

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.

Prerequisites

Installation

quelpa

(quelpa '(quick-fasd :repo "jamescherti/quick-fasd.el" :fetcher github))

(Interactively: M-x quelpa fasd RET.)

El-Get

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)))

Usage

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 directories
  • M-- lists only files

With no prefix it shows files and directories.

Options

Use the customize interface:

M-x customize-group RET fasd RET

Initial Prompt

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.

Completion Function

By default the standard completing-read-function will be used, which could be using helm or ido depending on what you are using.

Standard search

By default the fasd search parameter is -a which searches files and directories, you can customize this with the quick-fasd-standard-search option.

Links

About

Emacs integration for `fasd'

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •