wfxr / formarks

:bookmark: Quickly navigate your work path!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

formarks

formarks is a zsh plugin for quickly navigating your work path

screenshot

Installation

Make sure you have fzf installed.

for zplug (Recommend)

zplug 'wfxr/formarks'

for zgen

zgen load wfxr/formarks
antigen bundle wfxr/formarks

Manually

Clone this repo somewhere and source the formarks.plugin.zsh at ~/.zshrc.

Usage

Command Action
mark mark current path
jump jump to the selected bookmark
dmarks delete the selected bookmarks
lmarks list all registered bookmarks
cmarks clean invalid bookmarks

Default key-binding for jump is ctrl - g.

Env variable

You can set a different directory to your marks than $HOME/.pathmarks exporting $PATHMARKS_FILE before loading this plugin.

Eg: export $PATHMARKS_FILE=$XDG_DATA_HOME/pathmarks/file

Credits

  • urbainvaes: The project is originally forked from his fzf-marks. Merging seams not possible for now because there are too many different commits between them. I do lots of modifications on zsh part but don't want to keep update with the bash part. So I migrate the forked repo to this new repo.

The MIT License (MIT)

Copyright (c) 2018 Wenxuan Zhang

About

:bookmark: Quickly navigate your work path!

License:MIT License


Languages

Language:Shell 100.0%