Ranger.vim


Ⅰ. 插件描述

Ranger for vim.

Ⅱ. 基本信息

创建日期:  2016-01-13
使用用户:  5
Github星:  5
插件作者:  rafaqz rafaqz

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/ranger-vim-thing-itself'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/ranger-vim-thing-itself'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/ranger-vim-thing-itself'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

(latest version at https://github.com/rafaqz/ranger.vim)

Ranger is a scriptable terminal file manager with vim like commands that displays files as you browse (even images).

http://ranger.nongnu.org/

To browse and open file(s) with ranger:

<leader>rr

Open files(s) with ranger in tabs, splits and vertical splits. Each file selected gets a new tab/split.

<leader>rt
<leader>rs
<leader>rv

Use ranger as an operator, to add/edit a file path under the cursor:

<leader>r[movement]

This example will replace the text inside () with whatever file path you select in ranger. If it's already a valid path ranger will open there:

<leader>ri(

ranger.vim wont work in gvim, but if you're using ranger, you probably don't use gvim anyway...

添加新评论