z-fish


Ⅰ. 插件描述

A fork of http://github.com/rupa/z to port it to the Fish shell.

Ⅱ. 基本信息

创建日期:  2009-06-19
使用用户:  1
Github星:  128
插件作者:  Steve Losh

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'sjl/z-fish'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'sjl/z-fish'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'sjl/z-fish'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/sjl/z-fish

Ⅳ. 文档说明

z-fish is my fork of z (http://github.com/rupa/z) that works with the fish shell.

Tab completion is not working. If you can fix this that would be great, but I
don't use it enough to bother.

z's original readme with modified install instructions follows.


z is the new j

First, there was j: http://github.com/rupa/j/.

Then, there was j2: http://github.com/rupa/j2/, with some python added. Made
it easier to experiment with some stuff I'd been thinking about.

Now there's this, where I rewrote j2 back in bash. I like it. Sorry about all
the repos , but it kind of grew this way.

The biggest change from j is the use of 'frecency' for weighting. Directories
that have low ranking but were accessed recently, will quickly have higher rank.

The -r switch preserves the old behavior.

maintains a jump-list of the directories you actually use

INSTALL:

* put something like this in your config.fish:

. /path/to/z.fish

* cd around for a while to build up the db

* PROFIT!!

USE:

* z foo # goes to most frecent dir matching foo

* z foo bar # goes to most frecent dir matching foo and bar

* z -r foo # goes to highest ranked dir matching foo

* z -t foo # goes to most recently accessed dir matching foo

* z -l foo # list all dirs matching foo (by frecency)

添加新评论