Coding with stenography in Visual Studio Code
For this year's Advent of Code, I want to write Rust code using my stenography keyboard. Here's my setup!
Background
I use Lapwing theory for writing English, and things like numbers and basic keyboard movement.
| Underscore | -RB | very_smallSRE/-RB/SPHAUL |
| Exclamation mark | P-B | !activeP-B/TAEF |
| Dollar sign | DL-R | $helloDL-R/H-L |
| Ampersand | AMS | &yeahAMS/Y*E |
| Parens | FPL/RBG | f(x)F*/FPL/X*/RBG |
| Brackets | EFPL/ERBG | array[0]RA*EU/EFPL/#E/ERBG |
| Angles | UFPL/URBG | Option<usize>#OPGS/UFPL/USZ/URBG |
| Braces | S-FPL/S-RBG | {return;}S-FPL/RURN/SP-PS/S-RBG |
() | -FPLRBG | |
[] | EFPLRBG | |
{} | S-FPLRBG | |
== | *EK | |
=== | *EKT | |
!= | N*EK | |
!== | N*EKT | |
<= | L*EK | |
>= | G*EK | |
-> | RA*R | |
<- | LA*R | |
=> | TH*EN |
Capitalization and spacing
I don't use fancy plugins for this. For caps, I use KPA and KPA* from Lapwing. For example:
class SmallExample extends AnotherClass KHRAS KPA/SPHAUL/KPA*/KP-PL EBGS/TEPBDZ KPA/TPHOER/KPA*/KHRAS
Or sometimes I just use the proper noun modifier key, for known identifiers:
Some #SOPL
I use SP to suppress spaces, and -RB for underscore (defined as {^_^} in Plover).
int examplevalue = very_small; *EUPBT KP-PL/SP/SRAOUL -BS SRE/-RB/SPHAUL/SP-PS