Tuesday, November 11, 2014

Captioning With Plover and Vim

As promised, here's my video of using Plover to enter and edit text in Vim!



And in case you're interested, here are the steno definitions of the commands I use in the video:

"STPAO*EUL": "{#Escape}:w c:/proj/.txt{#Left}{#Left}{#Left}{#Left}{^}",

"STPHA*EUF": "{#Escape}:silent w{#Return}:{#Return}{#Control_L(End)A}",

"SPO*EL": "{#Escape}:set nospell{#Return}:{#Escape}{#Control_L(End)}A",

""SKHR*EBGS": "{#Escape}/zxzxz{#Return}:{#Escape}A",

"PHOEUFP": "{`^}

"SPWAO*UT": "{#Escape}:%s/{^}",

"KW*RPB": "{#Escape}{>}bvwy:split c:\\proj\\plovernotes.txt{#Return}o{#Escape}jp:silent w{#Return}:silent q{#Return}:{#Escape}{#Control_L(End)}A",

"SR-RS": "{#Escape}{#Control_L(End)}A",

"TKHREPBD": "^vG$xo",

And bonus definition which I use in the video to get rid of an extra space but don't mention specifically:

"TW*EUT": "{#Escape}:set textwidth=46{#Return}ggvG$gq:%s/  / /g{#Return}:%s/ \\n/{#Control_L(Q)}{#Control_L(M)}{^}/{#Return}:%s/\\n /{#Control_L(Q)}{#Control_L(M)}{^}/{#Return}:%s/\\n\\n\\n/{#Control_L(Q)}{#Control_L(M)}{#Control_L(Q)}{#Control_L(M)}/{#Return}:silent w{#Return}{#Escape}/zxzxz{#Return}:{#Escape}{#Control_L(End)}A",

5 comments:

Soo Doe Nimh said...

Long-time (15 years) Vim user. I have had trouble making Plover play with Vim well, due to leaving insert mode to get things done, such as ":.,$ s/setup/set up/g" and all those single-key commands in Vim when you're in command mode. It seems a shame to fingerspell "c3E", but that's still pretty quick when you consider the advantages.

It's just so different working with Vim in steno, since Vim is designed for the Qwerty keyboard.

Anyway, the video gives me some ideas for briefing my most common Vim activities. If you can use it on the job, I should be able to as well.

Cheers.

Mirabai Knight said...

So glad you found the video helpful! Yeah, I wasn't sure if there was anyone using both Vim and Plover together besides me, but I have to say I absolutely love it. It all feels second nature to me now.

Unknown said...

Great video! I'm doing all my VIM editing with Plover now and these are a lot of help. One question for now, why MOICH? Is it mnemonic for something that I'm not getting?

Mirabai Knight said...

Just because the index and middle fingers are the strongest fingers, plus the OI diphthong is my regular wildcard diphthong (because it's relatively uncommon in English speech). (':

Unknown said...

Good reason, thanks! I like some of the briefs that are based on position, a lot of the punctuation. For me the fact that OI on the bottom is more on the right than the left makes it "look" like the ` character.