Ⅰ. 插件描述
vim plugin for pretending like you can actually typeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'natw/keyboard-cat-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'natw/keyboard-cat-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'natw/keyboard-cat-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/natw/keyboard_cat.vim
Ⅳ. 文档说明
keyboard_cat.vim
A vim plugin for pretending like you can type really fast.
Why?
Conceivably, when giving some kind of presentation, you might want to pretend like you are typing something out.
But typing and talking is hard, so with this you can just mash on the keyboard and let the letters magically appear.
This might only really be useful for less serious presentations, like TiP BoF talks.
Install
Do the usual pathogen/vundle thing, put plugin/keyboard_cat.vim in ~/.vim/plugin/ or just source it (for one-time use):
:source plugin/keyboard_cat.vim
Use
Open up vim, and start the magic with this:
:PlayMeOff /path/to/some/file
Then, in insert mode, typing any letter will enter the next character of the file specified.
So mash away to your heart's content.