Friday, March 20, 2020

Text Formatting





Next word starts with a capital letter




PHR-FRP (was: KPA)

{}{-|}

I'm including {} here so it consistently adds the space before the word. {^ ^}{-|} does the same thing but you get to see the space inserted first. And my stroke for that is SP-F.






Rewrite the last word to start with a capital letter




PHR*FRP (was: KA*PD)

{*-|}







First letter of next word is capitalized exactly where the cursor is (meaning do not insert a space before the next word), i.e. CamelCase

Example: DualShock


 


34R-6R7 (was: KPA*)

{^}{-|}

Think of the PHR-FRP stroke, with the number bar as the glue.






Next word starts in lowercase

 

WHR-FRB

{}{>}

I'm including {} here so it consistently adds the space before the word. {^ ^}{^^} does the same thing but you get to see the space inserted first. And my stroke for that is SP-R.






Rewrite the last word to start in lowercase


 


WHR*FRB (was: HRO*ERD)

{*>}






Lowercase the next word exactly where the cursor is (meaning do not insert a space before the next word)

Example: Sixaxis




W4R-6RB

{^}{>} or {^^}

Think of the WHR-FRB stroke, with the number bar as the glue.





Cancel custom output modes




HR-FR

{MODE:RESET}








Replace spaces with hyphens




PWHR*FRPB

{MODE:SET_SPACE:-}

Could be useful if you know what you're doing. It's definitely fun!

This stroke also looks like one giant hyphen, right?






Title Case


PWHR-FRPB

{MODE:TITLE}






Write in all capital letters




SPWHR-FRPB (was: KA*PS)

{MODE:CAPS}

Better than {#Caps_Lock} so you won't accidentally get inverse capitalization. Quit with HR-RF.






Write just the next word in all capital letters




SPHR-FRP (was: KPA*L)

{<}

PHR-FRP is already the capital letter stroke, so think of S- as holding the Shift key.

Even if your next stroke is a phrase, it's still only the first word that's capitalized. This is what you want!






Rewrite the last word in all capital letters




SPHR*FRP (was: *UPD)

{*<}

The * makes the SPHR-FRP stroke apply to the previous word.

Even if your next stroke is a phrase, it's still only the last word that's capitalized. This is what you want!






Undo / delete last stroke


*

=undo

Better add this one manually just in case.





Repeat last stroke


 


#

{*+}

Ted Morin's creation, I believe. Not in any of the default dictionaries, and my favorite. Makes words that require repeated strokes a ton easier and eliminates the possibility of error.






Toggle asterisk




#*

{*}

Another one of Ted's, and the coolest. Instead of undoing a stroke after finding out you needed the asterisk and then stroking it again, hit this to instantly "switch polarities"... just like in Ikaruga!






Retrospectively add space


TK-LG (was: AFPS)

{*?}

Break apart words that would stick together, like:

perfect = PER

situation = SWAEUGS

persuasion = PER/SWAEUGS

perfect situation 
PER/SWAEUGS/TK-LG

Thanks to sea not sure on the Plover Discord for the better stroke! (TK-LG was 'dialoguing' in Magnum, which according to this spell check, isn't a real word)






Retrospectively delete space




TK*LG

{*!}

Doesn't really help if you have one stroke outputting several words, but add it and try it anyway.

Thanks again to sea not sure.

Still better to use the CamelCase stroke  if you actually wanted CamelCase because this will uncapitalize the second word (e.g. Dual Shock > Dualshock)






...

Ellipses




P-FPL

{^...}
  • No space before
  • Space after
  • Next word is not capitalized






...

Ellipses




P-FPLT (was: SKWR-RBGS)

{^...}{-|}
  • No space before
  • Space after
  • Next word is capitalized






Replace last punctuation mark with ellipses

 

SP*FPL

{#BackSpace}{^}...

Combines the "Backspace" and "Ellipses" strokes. Pretty clever!






New line (carriage return)




R-R

{^~|\n^}{-|}

Hit Enter once and capitalize the next word. This stroke a default Plover stroke, but I'm adding the {-|} to capitalize. 

R-R in Magnum is "railroad," so my stroke for "railroad" is now R-RD, just like in the default Plover dictionary. "Railroaded" is R-RD/D.






New paragraph


 


SKWRAURBGS

{^\n\n^}{-|}

Hit Enter twice and capitalize the next word. This is a default Plover stroke.






Jump to the end of a document


12KU

{#Control_L(End)}

Coming up with a stroke for Ctrl+Home is Stan Sakai's idea, but this stroke is my own. I changed it because I wanted to have the same stroke with the asterisk to go back.






Jump to the beginning of a document


12K*U

{#Control_L(Home)}

Now you can hit the "toggle asterisk" stroke for some fun. I really run with Stan's idea for "SK" to feel like "Control" in several of my strokes. (It's now "SD" with the number bar, but whatevs)







Cut (Ctrl+X)




SK-RPG

{#Control_L(x)}

Note the shape; it's pointing up because you're "lifting" it to move it somewhere else.






Copy (Ctrl+C)




SK-RPGS

{#Control_L(c)}

Stroke intentionally similar to SK-RPG. You're making a copy, hence the -S, or something.






Paste (Ctrl+V)




SK-FBL

{#Control_L(v)}

Right-hand side of the stroke is the opposite of SK-RPG, pointing down because you're pasting something down.






Undo (Ctrl+Z)




SK-RD

{#Control_L(v)}

I did have SK*RD as Redo (Ctrl+Y), but it seems simply repeating the Undo stroke already undoes the undo. Halp?






Select All (Ctrl+A)




1K^EU6R7B8G9SDZ

{#Control_L(a)}

Basically SK plus the entire right side, including the asterisk. I wanted a stroke that was easy to do (just mash the whole right side), but also one that would be impossible to misstroke and get some other command instead of raw steno.






Shift + Up




K3R50E67

{#Shift_L(Up)}

Same strokes as the arrow keys over on the Full Keyboard page, with the Number Bar to act as holding Shift to highlight text.






Shift + Right




K3R50E7B

{#Shift_L(Right)}






Shift + Down




K3R50ERB

{#Shift_L(Down)}






Shift + Left




K3R50E6R

{#Shift_L(Left)}






Shift + Home




K3R50E7

{#Shift_L(Home)}







Shift + End




K3R50EB

{#Shift_L(End)}







Shift + Page Up




K3R50E8

{#Shift_L(Page_Up)}






Shift + Page Down




K3R50EG

{#Shift_L(Page_Down)}






Ctrl + Home


KPRAO*EP

{#Control_L(Home)}

Asterisk acts as Ctrl.






Ctrl + End


KPRAO*EB

{#Control_L(End)}

Asterisk acts as Ctrl.






Ctrl + Page Up




KPRAO*EL

{#Control_L(Page_Up)}

Asterisk acts as Ctrl.






Ctrl + Page Down




KPRAO*EG

{#Control_L(Page_Down)}

Asterisk acts as Ctrl.






, "

Comma, space, open double quote, don't capitalize next


KPRAO*FPL

{,}{~|"^}{>}

You're hitting the asterisk because you're "curving left" to match the curve of the comma.





, "

Comma, space, open double quote, capitalize next


K3R50*678

{,}{~|"^}{-|}

Same stroke as above, but forces capitalization with the Number Bar.





. " 

Period, space, open double quote, capitalize next


KPRAOFPL

{.}{~|"^}{-|}

Your right ring finger hits the period, just like QWERTY.



... "

Ellipses, open double quote, space, capitalize next


K3R50678

{.}{.}{.}{~|"^}{-|}

Up until this ellipses stroke, the Number Bar was reliably "hold Shift" or "capitalize." But the right hand hits the same keys for my plain ellipses stroke, so there's that.




? "

Question mark, space, open double quote, capitalize next


KPRAOFPLT

{?}{~|"^}{-|}

Your right ring finger hits the question mark, just like QWERTY.






! "

Exclamation point, space, open double quote, capitalize next


KPRAOFPLTD

{!}{~|"^}{-|}

It's the "hardest" stroke because you don't really use the exclamation point in formal stuff.





,"  

Comma, close double quote, space, don't capitalize next




KPRAO*RBG

{,}{^~|"}{>}
  • No space before
  • Space after
  • Next word is not capitalized
It's the odd one out in this row that has the next word not capitalized. 






." 

Period, close double quote, space, capitalize next




KPRAORBG

{.}{^~|"}{-|}
  • No space before
  • Space after
  • Next word is capitalized
Your right ring finger hits the period, just like QWERTY.






..." 

Ellipses, close double quote, space, capitalize next

 

K3R50RBG

{.}{.}{.}{^~|"}{-|}
  • No space before
  • Space after
  • Next word is capitalized
Up until this ellipses stroke, the Number Bar was reliably "hold Shift" or "capitalize." But the right hand hits the same keys for my plain ellipses stroke, so there's that.






?" 

Question mark, close double quote, space, capitalize next




KPRAORBGS

{?}{^~|"}{-|}
  • No space before
  • Space after
  • Next word is capitalized
Your right ring finger hits the question mark, just like QWERTY.






!"

Exclamation point, close double quote, space, capitalize next




KPRAORBGSZ

{!}{^~|"}{-|}
  • No space after
  • Space after
  • Next word is capitalized
It's the "hardest" stroke because you don't really use the exclamation point in formal stuff.



    No comments:

    Post a Comment