I've been meaning to ask whether you have checked out [QMK](https://qmk.fm), an open source firmware project supporting a wide range of custom keyboards. It allows you to program your layout in C. A simple layout would look like this:
```
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_INS,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE, KC_SPACE, KC_SPACE, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
};
```
However, you can also do some really [complex macros](https://www.reddit.com/r/ol....
I have not yet gone that deep with the software, but I do have a concrete example of why I love this project so much (and _really_ want to see what you would do with it) addressing the following complaint:
> The toughest part for me happens when using a combo like “select by word,” which is Option-Shift-Arrow. Now it’s Option-Shift-Mod-[i/j/k/l]. And when I want to switch to selecting by character in the same selection, I have to think for a second to remember which of those three modifiers to let go of.
Now, I am using a version of your keybindings file with an [XD75](https://www.massdrop.com/bu..., which has 75 1U keys in 15 x 5 grid. Z is programmed to activate my text selection + clipboard layer when held down. On that layer x/c/v are mapped to Command+x, etc. while b is mapped to activate LaunchBar's clipboard history with ⌘⌥\. So, I can just shift my left hand straight down one row, hold z, and my other fingers are ready for clipboard operations. On the right side, the key where my thumb naturally rests is mapped to select by word while the key 1 space over selects by paragraph. h/j/k/l extend selection by word / paragraph (Option-Shift-Arrow). One row above, u/i/o/p extend selection by character / upward (Shift-Arrow). One row below, n/m/,/. extend selection to the beginning / end of the line or document (Command-Shift-Arrow).
It has been quite the rabbit hole already, but QMK + a custom keeb has been the biggest productivity enhancement I've found in some time.

Comments