vim bindings for the workman keyboard layout, because I'm bad at langmap
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload
plugin
tests
.gitignore
.runtime.vim
.travis.yml
README.md

README.md

Build Status 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 time. 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 = 0

Tests

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 test

Notes

this plugin was originally this gist MattWoelk/887861 which was in turn this script colquer