emacs-monkeytype icon indicating copy to clipboard operation
emacs-monkeytype copied to clipboard

Add support for smart-dash-mode?

Open NateEag opened this issue 4 years ago • 2 comments

I just discovered monkeytype and excitedly gave it a whirl.

It's a nice package. Thanks so much for it!

I use the kinda obscure package smart-dash-mode so I don't have to press Shift all the time when writing names_like_these (or when writing CONSTANT_NAMES using Caps Lock).

It just guesses whether you wanted a - or an _ based on the context when you press the - key, and does a pretty good job of it.

I have it on by default across Emacs, which causes smart-dash-inserted _s to be marked as incorrect in monkeytype-mode buffers.

Any ideas what the best approach for adding some smart-dash-mode awareness might be?

NateEag avatar Dec 09 '20 15:12 NateEag

It's something I've considered (I should probably add it to the readme's TODO section) but not for the near future - doesn't seem that straightforward.

Support for smartparens, snippets, etc., would also be really nice to have - mostly for monkeytyping source code. That would be the most realistic typing experience (if you are a programmer), helping you build the right muscle typing memory.

Something you can do atm is simply skip that text (e.g., with arrows or some command), and monkeytype will ignore that section so it won't affect your WPM or accuracy.

I'll leave the issue open and label it as a "New Feature" (worth implementing).

jpablobr avatar Dec 09 '20 17:12 jpablobr

Okay, cool. That makes sense, and lines up with my vague thoughts.

Thanks for the info!

NateEag avatar Dec 10 '20 03:12 NateEag