formarks
is a zsh plugin for quickly navigating your work path
Make sure you have fzf
installed.
for zplug (Recommend)
zplug 'wfxr/formarks'
for zgen
zgen load wfxr/formarks
for antigen
antigen bundle wfxr/formarks
Clone this repo somewhere and source the formarks.plugin.zsh
at ~/.zshrc.
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
.
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
- 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 thebash
part. So I migrate the forked repo to this new repo.
The MIT License (MIT)
Copyright (c) 2018 Wenxuan Zhang