Add support for the Workman keyboard layout
This commit is contained in:
parent
777dc4ea9b
commit
40e0f180d4
|
@ -13,6 +13,7 @@
|
|||
- [[#bepo][bepo]]
|
||||
- [[#dvorak][dvorak]]
|
||||
- [[#colemak][colemak]]
|
||||
- [[#workman][Workman]]
|
||||
- [[#package-configurations][Package Configurations]]
|
||||
- [[#keybindings][Keybindings]]
|
||||
- [[#sources][Sources]]
|
||||
|
@ -160,6 +161,22 @@ found at the [[https://colemak.com/][Colemak website]].
|
|||
|
||||
[[file:img/colemak-layout.png]]
|
||||
|
||||
** Workman
|
||||
=Workman= is an English-optimized keyboard layout designed to, [[https://workmanlayout.com][among other
|
||||
things]], reduce finger travel-distance, and balance the load equally between
|
||||
hands. It is meant to function particularly well in conjunction with ortholinear
|
||||
('matrix' or 'grid') keyboards, such as the one depicted in the diagram.
|
||||
|
||||
file:img/workman-keymap.png
|
||||
|
||||
This layer performs the following substitutions, as recommended in [[https://axiomatic.neophilus.net/posts/2013-08-13-workman-layout-for-vim.html][this blog
|
||||
post]], with some suggested mnemonics:
|
||||
|
||||
- (y)ank -> (h)aul
|
||||
- Search (n)ext -> (j)ump
|
||||
- (e)nd word -> brea(k) of word
|
||||
- (o)pen new line -> (l)ine
|
||||
|
||||
* Package Configurations
|
||||
The available configurations are:
|
||||
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
;;------------------------------------------------------------------------------
|
||||
|
||||
(defvar kl-layout 'dvorak
|
||||
"The keyboard-layout to use. Possible values are `colemak', `dvorak' and `bepo'.")
|
||||
"The keyboard-layout to use. Possible values are `colemak',
|
||||
`dvorak', `bepo' and `workman'.")
|
||||
|
||||
(defvar kl-enabled-configurations nil
|
||||
"If non nil, `keyboard-layout' will enable configurations only
|
||||
|
@ -75,7 +76,16 @@ any case.")
|
|||
("h" . "h")
|
||||
("j" . "n")
|
||||
("k" . "e")
|
||||
("l" . "i"))))
|
||||
("l" . "i")))
|
||||
(workman . (("y" . "h")
|
||||
("n" . "j")
|
||||
("e" . "k")
|
||||
("o" . "l")
|
||||
;;
|
||||
("h" . "y")
|
||||
("j" . "n")
|
||||
("k" . "e")
|
||||
("l" . "o"))))
|
||||
"The base rebinding map. Dots should be read as `will behave
|
||||
as'. It should be a bidirectional mapping, i.e. all present
|
||||
keys should be once in each column.")
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
Loading…
Reference in New Issue