scratch.vim


Ⅰ. 插件描述

a plugin to create a scratch buffer

Ⅱ. 基本信息

创建日期:  2004-11-14
使用用户:  1
Github星:  1
插件作者:  Bruce Who

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

    this script creates a scratch buffer like what emacs does for you, you can write anything there, but its content will not be saved, so DONT put any important things in scrath buffer! Several commands and keymaps will help you.

Usage:
    you can press <F4>s to open the scratch buffer window, and close it by press <F4>s again. the contents of the scratch buffer will not be lost until you quit Vim.

    <F4><S-s> will paste from register " to the scratch buffer. A blank line is added between pasting.

    You can have only one scratch buffer open in a single Vim instance.

    scratch.vim itself contains detailed description in both English and Chinese.

    this scratch.vim is part of Bruce Who's vim package which is not fully finished.

========================================

中文简介(chinese)
此脚本用于创建一个scratch缓冲区,你可以在这里打草稿,写一些临时的内容而不必创建一个文件,呵呵。但是退出vim后这个缓冲区的内容会消失,所以不要在这里写重要的东西!还定义了一些命令和快捷键。

scratch.vim本身有更详细的说明。

添加新评论