Skip to content

Commit

Permalink
Add non-command mode keybindings to navigate spelling errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Knuth committed Apr 14, 2014
1 parent a80f84f commit c6b3f7c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Default (Linux).sublime-keymap
@@ -1,6 +1,7 @@
[
{ "keys": ["control+alt+k"], "command": "spell_check" },

{ "keys": ["control+alt+]"], "command": "next_misspelling"},
{ "keys": ["control+alt+["], "command": "prev_misspelling"},
{ "keys": ["z", "="], "command": "spell_check",
"context":
[
Expand Down
3 changes: 2 additions & 1 deletion Default (OSX).sublime-keymap
@@ -1,6 +1,7 @@
[
{ "keys": ["control+alt+k"], "command": "spell_check" },

{ "keys": ["control+alt+]"], "command": "next_misspelling"},
{ "keys": ["control+alt+["], "command": "prev_misspelling"},
{ "keys": ["z", "="], "command": "spell_check",
"context":
[
Expand Down
3 changes: 2 additions & 1 deletion Default (Windows).sublime-keymap
@@ -1,6 +1,7 @@
[
{ "keys": ["control+alt+k"], "command": "spell_check" },

{ "keys": ["control+alt+]"], "command": "next_misspelling"},
{ "keys": ["control+alt+["], "command": "prev_misspelling"},
{ "keys": ["z", "="], "command": "spell_check",
"context":
[
Expand Down
13 changes: 11 additions & 2 deletions README.md
@@ -1,10 +1,19 @@
KeybardSpellCheck
=================

A Sublime Text 2/3 plugin that allows you to spell check the word under the cursor from the keyboard (vi style). Press ```control+alt+k``` or ```z=``` in command mode to display spelling suggestions. Use ```[s``` and ```]s``` to step through spelling errors in command mode.

A Sublime Text 2/3 plugin that allows you to spell check the word under the cursor from the keyboard (vi style).
If the ```use_google``` setting is set to true, Google's best guess for what you meant will also be displayed as the first option.

This package is designed to work in conjunction with Sublime's built in spell check. Thus to utilize this package to its fullest, ```"spell_check": true``` should be in your ```Preferences.sublime-settings``` file.


Usage
-----
Press ```control+alt+k``` (or ```z=``` in command mode) to display spelling suggestions.
Use ```control+alt+[``` or ```control+alt+]``` (or ```[s``` and ```]s``` in command mode) to step through spelling errors.

When selecting a replacement from the spelling suggestions, fuzzy search is being utilized, so typing the number or some part of the word will select
the corresponding replacement.

Installation
------------
Expand Down

0 comments on commit c6b3f7c

Please sign in to comment.