Ⅰ. 插件描述
Keystroke saving with Vim and Google ScribeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'dework/vim-google-scribe'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'dework/vim-google-scribe'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'dework/vim-google-scribe'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/dework/vim-google-scribe
Ⅳ. 文档说明
vim-google-scribe
Unfortunately, Google scribe Suddenly vanished, and consequently vim-google-scribe does not work anymore.
Keystroke saving with Vim and Google Scribe
Google Scribe provides text completion service. Using information from what you have already
typed in a document, Google Scribe provides related word or phrase completion
- In addition to saving keystrokes, Google Scribe's suggestions
- correct or popular phrases to use.
Requirements
vim-google-scribe requires an installation of Vim compiled with python support.
Installation
If you don't have a preferred installation method, I recommend
installing pathogen.vim, and
then simply copy and paste:
cd ~/.vim/bundle
git clone git://github.com/dubenstein/vim-google-scribe.git
In case you want to enable vim-google-scribe for markdown files, commit
messages and vimwiki add this lines to your vimrc:
au filetype vimwiki setl completefunc=googlescribe#Complete
au filetype markdown setl completefunc=googlescribe#Complete
au filetype gitcommit setl completefunc=googlescribe#Complete
Fine-Tuning
let g:googlescribe_cache_size = 200LRU cache maximum size
License
Copyright © epiloque. Distributed under the same terms as Vim itself.
See :help license.