Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ananthu-sk/ranger-zjumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Ranger & z

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_SRC environment variable to the path of z.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 dir to jump to directories matching .*/dir

  • Run :z dir1 dir2 ... dirn to jump to directories matching .*/dir1.*/dir2....*/dirn

  • Alternatively:

    • Press c, then z, then type your directory query
  • Directory matching is case-insensitive.


Updating

To update the plugin:

cd "${XDG_CONFIG_HOME:-$HOME/.config}/ranger/plugins/ranger-zjumper"
git pull

See Also

About

z jumper for ranger

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages