From c0dbd81b2b652a3b44f5bbb22ee0ddaff8ed68ea Mon Sep 17 00:00:00 2001 From: Callum Oakley Date: Fri, 29 Nov 2019 22:10:01 +0000 Subject: [PATCH] [keymap] personal keymap tweaks (#7510) * replace home and end with cmd-left and cmd-right for iOS compatability * tab left and right with cmd-shift-bracket instead of ctrl-tab for Blink compatability * cmd-up and cmd-down instead of pg-up pg-down for blink shell compatability * Revert "cmd-up and cmd-down instead of pg-up pg-down for blink shell compatability" This reverts commit e976af9f11f77933f272edc22faf971445a65717. * reorganised symbol layer * update link in readme --- keyboards/planck/keymaps/callum/keymap.c | 12 ++++++------ keyboards/planck/keymaps/callum/readme.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/keyboards/planck/keymaps/callum/keymap.c b/keyboards/planck/keymaps/callum/keymap.c index 2a7a53d38..c6298d247 100644 --- a/keyboards/planck/keymaps/callum/keymap.c +++ b/keyboards/planck/keymaps/callum/keymap.c @@ -63,16 +63,16 @@ #define gbp A(KC_3) #define down KC_DOWN -#define home KC_HOME -#define end KC_END +#define home G(KC_LEFT) +#define end G(KC_RGHT) #define up KC_UP #define pgdn KC_PGDN #define pgup KC_PGUP #define left KC_LEFT #define rght KC_RGHT -#define tabl S(C(KC_TAB)) -#define tabr C(KC_TAB) +#define tabl G(S(KC_LBRC)) +#define tabr G(S(KC_RBRC)) #define fwd G(KC_RBRC) #define back G(KC_LBRC) #define dtl C(KC_LEFT) @@ -162,8 +162,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [SYMB] = LAYOUT_planck_grid( esc, n7, n5, n3, n1, n9, n8, n0, n2, n4, n6, dash, - del, bsls, hash, astr, eql, pipe, at, rprn, lprn, dlr, ampr, gbp, - caps, grv, exlm, lbrc, rbrc, circ, tild, rcbr, lcbr, plus, perc, caps, + del, at, dlr, eql, lprn, lbrc, rbrc, rprn, astr, hash, plus, gbp, + caps, grv, pipe, bsls, lcbr, tild, circ, rcbr, ampr, exlm, perc, caps, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____ ), diff --git a/keyboards/planck/keymaps/callum/readme.md b/keyboards/planck/keymaps/callum/readme.md index 190c2b23a..3eae9ad3c 100644 --- a/keyboards/planck/keymaps/callum/readme.md +++ b/keyboards/planck/keymaps/callum/readme.md @@ -28,7 +28,7 @@ This is a layout for the grid planck, built with a few ideals in mind: Layout rendered with [keyboard-layout-editor.com][]: -![](https://callum-oakley.github.io/images/keymap.png) +![](https://callumoakley.net/images/keymap.png) The only behaviour not captured in this graphic is: pressing both cmd keys will send cmd+ctrl. See [keymap.c][] for details.