fff.vim


Ⅰ. 插件描述

A plugin for vim/neovim which allows you to use fff as a file opener.

Ⅱ. 基本信息

创建日期:  2019-01-27
使用用户:  8
Github星:  58
插件作者:  dylan

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# fff.vim

A plugin for vim/neovim which allows you to use fff as a file opener.

Table of Contents

<!-- vim-markdown-toc GFM -->

<!-- vim-markdown-toc -->

Installation

Using vim-plug:

Plug 'dylanaraps/fff.vim'

Then run :PlugUpdate

Usage

Command

" Open in current directory.
:F

" Open in ~/dotfiles (or other path)
:F ~/dotfiles

Easy hotkey

" Open fff on press of 'f'
nnoremap f :F<CR>

Customization

Split Size

Default: let g:fff#split = "10new"

# Vertical split (NERDtree style).
let g:fff#split = "30vnew"

Split Direction

Default: let g:fff#split_direction = "splitbelow splitright"

# Open split on the left side (NERDtree style).
let g:fff#split_direction = "nosplitbelow nosplitright"

添加新评论