nuake


Ⅰ. 插件描述

A Quake-style terminal panel for Neovim and Vim

Ⅱ. 基本信息

创建日期:  2017-12-08
使用用户:  19
Github星:  64
插件作者:  Lenovsky

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Nuake
A Quake-style terminal panel for Neovim and Vim >= 8.0.1593.

Installation

This plugin follows the standard runtime path structure.

Plugin managerHow to install
Deincall dein#add('Lenovsky/nuake')
minpaccall minpac#add('Lenovsky/nuake')
PlugPlug 'Lenovsky/nuake'
VundlePlugin 'Lenovsky/nuake'

Usage

  • Run :Nuake to toggle Nuake manually.
  • Add the following into your config file to toggle Nuake with F4:

    nnoremap <F4> :Nuake<CR>
    inoremap <F4> <C-\><C-n>:Nuake<CR>
    tnoremap <F4> <C-\><C-n>:Nuake<CR>

Configuration

You can tweak the behavior of Nuake by setting a few variables in your config file.

OptionDescription
let g:nuake_position = {position} (default 'bottom')Set the Nuake position to 'bottom', 'right', 'top' or 'left'.
let g:nuake_size = {0-1} (default 0.25)Set the Nuake size in percent.
let g:nuake_per_tab = {0,1} (default 0)Enable the Nuake instance per tab page.
let g:close_if_last_standing = {0,1} (default 1)Close the editor if the Nuake window is the last one.
let g:start_insert = {0,1} (default 1)Enter insert mode when opening Nuake.

添加新评论