Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ask1234560/ranger-zjumper

z jumper for ranger
https://github.com/ask1234560/ranger-zjumper

plugin ranger z

Last synced: about 2 months ago
JSON representation

z jumper for ranger

Awesome Lists containing this project

README

        

# Ranger & z
This plugin integrates [z](https://github.com/rupa/z) with [ranger](https://github.com/ranger/ranger).The plugin uses `.z` file to jump around, watch [screencast](https://youtu.be/ciHHbFtz4N8).

This branch currently only supports [z](https://github.com/rupa/z), if you wanted to use [zsh-z](https://github.com/agkozak/zsh-z) please see the [master](https://github.com/ask1234560/ranger-zjumper/tree/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
```