Skip to content

ask1234560/ranger-zjumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Ranger & z

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.

Requirement

  • set _Z_SRC to path to 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

Usage

  • 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 or dir1 dir2 ... dirn
  • dir is case insensitive

Updation

For updating the plugin.

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