Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.
/ fzf-marks Public archive
forked from urbainvaes/fzf-marks

🚤 Little script to create, navigate and delete bookmarks in Bash and Zsh, using the fuzzy finder fzf

License

Notifications You must be signed in to change notification settings

wfxr/fzf-marks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fzf-marks

This tiny script, inspired by zshmarks, can be used to create, delete, and navigate marks in Bash and Zsh. It is based on the command-line fuzzy-finder fzf written by Junegunn Choi. Although the script is very short and simple, it is very convenient and can very quickly become an important part of your workflow.

Deprecated

This project is deprecated and will not be maintained any longer!

The new repo formarks does the same work but remove the bash support. If you are a bash user, please go to the original repo.

Thank you for your attention.

Installation

fzf is required to use this plugin. Once this condition is met, it is sufficient to source the script from your shell configuration file. If you are using zsh, the plugin is also compatible with the main plugin managers.

for zplug

    zplug wfxr/fzf-marks

for zgen

    zgen load wfxr/fzf-marks

Usage

Most of the key mappings in the search window are the default fzf ones. The most relevant ones are:

  • ctrl-n / ctrl-p to go to the next/previous match.
  • ctrl-y or Enter to accept a match.
  • ctrl-t to toggle a match for deletion.

In Zsh or Bash, the script creates three commands:

  • mark to create a new bookmark. For example, mark work creates a bookmark labeled work.
  • jump to jump to a given bookmark using fzf. By default, the script binds this function to ctrl-g.
  • dmark to delete marks toggled for deletion.
  • lmarks to list all registered marks

Sources

Author

Urbain Vaes

Wenxuan Zhang

About

🚤 Little script to create, navigate and delete bookmarks in Bash and Zsh, using the fuzzy finder fzf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%