Skip to content

Commit

Permalink
Beginning to hatch a macro for using mod-morph to protect a key from …
Browse files Browse the repository at this point in the history
…shift.
  • Loading branch information
amacleod committed Jun 21, 2024
1 parent 5f14236 commit abeee0e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
// Other convenience macros for in-layout bindings.
#define BSLINGER &tph BACKSPACE LC(BACKSPACE)

// Protect from shift; ensure that a key sends the same thing,
// regardless of whether shift is held. Note that this affects caps-word
// behavior as well, since caps-word uses LSHIFT.
#define PFS(PROTECTED_KEYCODE) pfs_##PROTECTED_KEYCODE


// Home row mods settings; history notes below:
// - fast tapping term of 100 feels too fast
// - in Dvorak, al roll sometimes comes out as L, and so roll as O, also as as S
Expand Down

0 comments on commit abeee0e

Please sign in to comment.