elijah-potter / harper

The Grammar Checker for Developers
https://writewithharper.com
Apache License 2.0
1.88k stars 34 forks source link

Harper for Obsidian: Adding some keymaps for focusing previous / next errors relative to cursor, and for inserting the first suggestion in window #238

Open Stanley-Wang910 opened 1 month ago

Stanley-Wang910 commented 1 month ago

Loving how fast and responsive the checking feels in Obsidian. the only thing I miss coming from LanguageTool is the ability to jump around through the errors and fix them quicky without needing to hover and click.

Sometimes when writing, I don't wanna stop and have to fix what I just wrote, so it's easier to fix the errors in the line after I finish typing. Harper makes this easier by linting faster than I can type (unlike language tool lol), but at the same time much slower because I can't jump back to those errors.

Adding a keymap to go back to the cursor position before navigating through errors would be helpful too, but not super necessary.

elijah-potter commented 1 month ago

I'll look into this soon, but I've got some other things sucking up my time for the rest of the week. Hopefully, I'll be able to get this done this weekend, but no promises. I've actually been thinking about this exact feature myself, so it's good to get confirmation from another person.

Stanley-Wang910 commented 1 month ago

no worries at all! if you get too busy and are okay with it, i could also take a look and see about making a PR!

great work on this so far though

Stanley-Wang910 commented 1 month ago

Also being able to add a word to a local dictionary might be a nice addition