nicwest / vim-workman

vim bindings for the workman keyboard layout, because I'm bad at langmap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Workflow 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. Set to 0 to disable or 1 to enable.

let g:workman_normal_workman = 0
let g:workman_insert_workman = 0
let g:workman_normal_qwerty = 0
let 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

About

vim bindings for the workman keyboard layout, because I'm bad at langmap


Languages

Language:Vim Script 96.5%Language:Makefile 3.5%