Ranger & z
July 27, 2026 ยท View on GitHub
This plugin integrates z with ranger. It uses the .z database to enable quick directory jumping inside ranger. You can watch a demo in this screencast.
Note: This branch supports only z. If you want to use zsh-z, see the master branch.
Requirements
- Set the
_Z_SRCenvironment variable to the path ofz.sh.
Installation
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 after installation.
Usage
- Run
:z dirto jump to directory. - Alternatively:
- Press
c, thenz, then type your directory query.
- Press
Updating
To update the plugin:
cd "${XDG_CONFIG_HOME:-$HOME/.config}/ranger/plugins/ranger-zjumper"
git pull