This plugin integrates z with ranger.The plugin uses .z
file to jump around, watch screencast.
This branch currently only supports z, if you wanted to use zsh-z please see the master branch.
- set
_Z_SRC
to path to z.sh
cd "${XDG_CONFIG_HOME:-$HOME/.config}"/ranger/plugins
git clone https://github.com/ask1234560/ranger-zjumper.git
echo -e "# z jumper\nmap cz console z%space" >> "${XDG_CONFIG_HOME:-$HOME/.config}"/ranger/rc.conf
restart ranger
- Type
:z dir
to go to.*/dir
or:z dir1 dir2 ... dirn
to go to.*/dir1.*/dir2....*/dirn
- Or press c followed by z, followed by
dir
ordir1 dir2 ... dirn
dir
is case insensitive
For updating the plugin.
cd "${XDG_CONFIG_HOME:-$HOME/.config}"/ranger/plugins/ranger-zjumper
git pull