Skip to content

Instantly share code, notes, and snippets.

@hofmannsven
Last active April 13, 2021 21:53
Show Gist options
  • Save hofmannsven/a502e525ba9f9e5fe348480183364ad8 to your computer and use it in GitHub Desktop.
Save hofmannsven/a502e525ba9f9e5fe348480183364ad8 to your computer and use it in GitHub Desktop.
Notes on working with Fasd and fzf.

Fasd

Website: https://github.com/clvv/fasd

Usage

Jump to recent directory: z dirname

Jump to recent directory with interactive selection: zz

List any recent file/directory: a

Jump to recent file/directory with interactive selection: s

List any recent directory: d

Jump to recent directory with interactive selection: sd

List any recent file: f

Jump to recent file with interactive selection: sf

Open file in vim editor: v filename

z

Website: https://github.com/rupa/z

Usage

Navigate: z dirname<TAB>

fzf

Website: https://github.com/junegunn/fzf

Usage

Navigate: cd **<TAB> or cd ~/dirname/**<TAB> or cd ../**<TAB>

Open files: vim **<TAB>

# ZSH
plugins=(git fasd zsh-syntax-highlighting)
# Fasd
eval "$(fasd --init posix-alias zsh-hook)"
alias v='f -e vim'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment