Ⅰ. 插件描述
vim bindings for the workman keyboard layout, because I'm bad at langmapⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'nicwest/vim-workman'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'nicwest/vim-workman'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'nicwest/vim-workman'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/nicwest/vim-workman
Ⅳ. 文档说明
vim-workman
Vim bindings for the workman keyboard layout. Brings sanity to
workman normal mode or use workman in insert mode on a qwerty layout.
langmap with function keys!
still a work in progress, so will probably break alot
Note: normal mode maps require the langnoremap setting introduced in
7.4.502, otherwise sanity doesn't really happen much.
Commands
Workman "maps a qwerty layout keyboard to workman in insert mode
Workman! "maps a qwerty layout keyboard to workman in normal mode
Qwerty "maps a workman layout keyboard to qwerty in insert mode
Qwerty! "maps a workman layout keyboard to qwerty in normal mode
WorkmanUndo "Undoes bindings from the other commands (both insert & normal)Settings
These go in your .vimrc or similar so you don't have to use the commands all the
- They are all off by default.
g:workman_normal_workman = 0
g:workman_insert_workman = 0
g:workman_normal_qwerty = 0
g:workman_insert_qwerty = 0Tests
Tests are written for vim-themis
To run tests, clone vim-themis, and simply run the tests:
git clone https://github.com/thinca/vim-themis.git
vim-themis/bin/themis --reporter dot testNotes
this plugin was originally this gist MattWoelk/887861 which was in turn
this script colquer