Make Colemak layout more ergonomic
This commit is contained in:
parent
4daa844574
commit
641cb39afa
|
@ -197,12 +197,14 @@ the [[https://colemak.com/][Colemak website]].
|
|||
|
||||
[[file:img/colemak-layout.png]]
|
||||
|
||||
This layer offers three flavors of Colemak bindings:
|
||||
This layer offers four flavors of Colemak bindings:
|
||||
- =colemak-hnei= remaps ~HJKL~ to ~HNEI~, keeping the same key location; useful
|
||||
for people used to the ~HJKL~ scheme on a Qwerty keyboard.
|
||||
- =colemak-neio= remaps ~HJKL~ to ~NEIO~, shifted one key to the right for
|
||||
easier access.
|
||||
- =colemak-jkhl= remaps ~HJKL~ to ~JKHL~, permuting the direction of the keys
|
||||
- =colemak-neio-literal= remaps ~HJKL~ to ~NEIO~, shifted one key to the right for
|
||||
easier access. It has easier access to new line mode (~o~).
|
||||
- =colemak-neio-inverted= remaps ~HJKL~ to ~NEIO~, shifted one key to the right for
|
||||
easier access. It has easier access to insert mode (~i~) (~L~, instead of ~K~).
|
||||
- =colemak-jkhl= remaps ~HJKL~ to ~JKHL~, switching the direction of the keys
|
||||
without disturbing any other binding.
|
||||
|
||||
*Note*: for technical reasons (see [[https://github.com/syl20bnr/spacemacs/pull/7178#issuecomment-249360301][GH-7178]]), when using =colemak-jkhl=, the
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
(defvar kl-layout 'dvorak
|
||||
"The keyboard-layout to use. Possible values are `bepo', `dvp',
|
||||
`dvorak', `workman', `neo', `colemak-neio', `colemak-hnei' and
|
||||
`colemak-jkhl'.")
|
||||
`dvorak', `workman', `neo', `colemak-neio-literal', `colemak-neio-inverted',
|
||||
`colemak-hnei' and `colemak-jkhl'.")
|
||||
|
||||
(defvar kl-enabled-configurations nil
|
||||
"If non nil, `keyboard-layout' will enable configurations only
|
||||
|
@ -83,7 +83,7 @@ case.")
|
|||
("j" . "n")
|
||||
("h" . "r")
|
||||
("k" . "t")))
|
||||
(colemak-neio
|
||||
(colemak-neio-literal
|
||||
. (("n" . "h")
|
||||
("e" . "j")
|
||||
("i" . "k")
|
||||
|
@ -91,8 +91,18 @@ case.")
|
|||
;;
|
||||
("h" . "n")
|
||||
("j" . "e")
|
||||
("k" . "i")
|
||||
("l" . "o")))
|
||||
("k" . "i") ;;
|
||||
("l" . "o"))) ;; easier access to "New Line Mode"
|
||||
(colemak-neio-inverted
|
||||
. (("n" . "h")
|
||||
("e" . "j")
|
||||
("i" . "k")
|
||||
("o" . "l")
|
||||
;;
|
||||
("h" . "n")
|
||||
("j" . "e")
|
||||
("l" . "i") ;; easier access to "Insert Mode"
|
||||
("k" . "o"))) ;;
|
||||
(colemak-hnei
|
||||
. (("h" . "h")
|
||||
("n" . "j")
|
||||
|
|
Loading…
Reference in a new issue