formarks
formarks copied to clipboard
:bookmark: Quickly navigate your work path!
formarks
formarks is a zsh plugin for quickly navigating your work path

Installation
Make sure you have fzf installed.
for zplug (Recommend)
zplug 'wfxr/formarks'
for zgen
zgen load wfxr/formarks
for antigen
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
zshpart but don't want to keep update with thebashpart. So I migrate the forked repo to this new repo.
License
The MIT License (MIT)
Copyright (c) 2018 Wenxuan Zhang