Ⅰ. 插件描述
restricted to use arrow keysⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'modsound/gips-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'modsound/gips-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'modsound/gips-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/modsound/gips-vim
Ⅳ. 文档说明
# Gips.vim
We are taught not to use arrow keys by Vim master to move back fingers to their home position quickly.
This plugin helps that as it assigns another function to arrow keys. If you press arrow keys, Vim displays random messages on statusline.
Install
NeoBundle 'modsound/gips-vim.git'Configuration
- You can change messages from Vim, If you save a text file in 'dict' directory(in plugin directory) and set its filepath by global variable in your vimirc.
let g:gips_reading_txt = '~/.vim/bundle/gips-vim/autoload/dict/***.txt'- Vim can read out the text, If you install Shaberu.vim and set the following parameter in your vimrc.
let g:gips_speech_via_shaberu = 1THANKS!!
I conceived the idea of this plugin at yokohama.vim. @thinca's advice made my script fit for practical use.
The random numbers code depends on @osyo-manga.