listtoggle


Ⅰ. 插件描述

A vim plugin for toggling the display of the quickfix list and the location-list.

Ⅱ. 基本信息

创建日期:  2012-08-17
使用用户:  280
Github星:  118
插件作者:  Val Markovic

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

ListToggle

A simple vim plugin for toggling the display of the quickfix list and the
location-list. Install it with [Vundle][] or [Pathogen][] (I recommend Vundle).

You can set the key mappings for toggling Vim's locationlist and quickfix
windows in your vimrc file:

let g:lt_location_list_toggle_map = '<leader>l'
let g:lt_quickfix_list_toggle_map = '<leader>q'

By default, they are set to <leader>l and <leader>q, respectively.

Here's how you can set the height (in number of lines) of the spawned window:

let g:lt_height = 10

添加新评论