mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-14 12:34:39 +00:00
documented dual mode capslock
This commit is contained in:
parent
93c1bfa646
commit
a1c53d0f93
2 changed files with 3 additions and 27 deletions
|
@ -7,7 +7,6 @@ Layers
|
|||
------
|
||||
|
||||
* BASE: this is where you type.
|
||||
* SHELL_LAYER: this is a permanent layer which I use when I don't need the F keys and gives me bash shortcuts on the top row.
|
||||
* SHELL_NAV: hold down the Tab key to access shell/terminal navigation shorcuts such as forward/backward word, history, Ctrl+C, screen tab movement.
|
||||
* KEY_NAV: arrow key movement with backward/forward word support, and copy/paste.
|
||||
* KEY_SEL: same as above, but every movement shift-selects.
|
||||
|
@ -20,6 +19,9 @@ Layers
|
|||
Updates
|
||||
-------
|
||||
|
||||
2017/01/28:
|
||||
* Made the capslock key a dual momentary layer activation for BRACKETS and SHELL_NAV. One keypress held down for BRACKETS, one keypress, released and then held down for SHELL_NAV
|
||||
|
||||
2017/01/22:
|
||||
* Made brackets toggle an OSL on the left capslock
|
||||
* Added SHELL_LAYER
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include "action_code.h"
|
||||
|
||||
#define BASE 0 // default layer
|
||||
#define SHELL_LAYER 1
|
||||
#define SHELL_NAV 2
|
||||
#define KEY_NAV 3 // key navigation layer
|
||||
#define KEY_SEL 4 // key selection layer
|
||||
|
@ -84,31 +83,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
|
||||
|
||||
|
||||
// permanent shell layer - meant to be used while in a terminal. only the top keys are overriden
|
||||
[SHELL_LAYER] = KEYMAP(
|
||||
// left hand
|
||||
KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,LALT(KC_DOT),RCTL(KC_R),RCTL(KC_C),
|
||||
KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
|
||||
KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
|
||||
KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
|
||||
// bottom row
|
||||
KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
|
||||
// thumb cluster
|
||||
KC_TRNS,KC_TRNS,
|
||||
KC_TRNS,
|
||||
KC_TRNS,KC_TRNS,KC_TRNS,
|
||||
// right hand
|
||||
RCTL(KC_W), LALT(KC_B),LALT(KC_F), KC_LEFT, KC_RIGHT, LALT(KC_D), KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
// bottom row
|
||||
KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
|
||||
// thumb cluster
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
|
||||
// shell navigation layer
|
||||
[SHELL_NAV] = KEYMAP(
|
||||
|
|
Loading…
Reference in a new issue