Documentation Index
Fetch the complete documentation index at: https://mintlify.com/khaphanspace/gonhanh.org/llms.txt
Use this file to discover all available pages before exploring further.
What is Auto-Restore?
When typing English words with Telex, some letters are interpreted as Vietnamese diacritics (s → sắc, w → ư, etc.). Auto-Restore automatically detects English patterns and restores the original text when you press Space.
How It Works
Comparison: macOS Telex vs Gõ Nhanh
| Input | macOS Telex | Gõ Nhanh |
|---|---|---|
text | têt ❌ | text ✅ |
expect | ễpct ❌ | expect ✅ |
perfect | pềct ❌ | perfect ✅ |
with | ưith ❌ | with ✅ |
tesla | téla ❌ | tesla ✅ |
luxury | lủuy ❌ | luxury ✅ |
case | cáe ❌ | case ✅ |
wow | ươ ❌ | wow ✅ |
No need to switch off Vietnamese mode! Just type normally and press Space.
Detection Patterns
Gõ Nhanh uses 8 intelligent patterns to detect English words:Pattern 1: Modifier + Consonant
Pattern 2: W at Start + Consonant
Pattern 3: EI Vowel Pair
Pattern 4: P Initial + AI
Pattern 5: W as Final
Pattern 6: F Initial
Pattern 7: Modifier + K Ending
Pattern 8: Double Vowel + Tone at End
Manual Restore with ESC
For words that Auto-Restore can’t detect, press ESC after typing:Limitations
Some English words create valid Vietnamese patterns and can’t be auto-detected:| Word | Telex Result | Reason |
|---|---|---|
mix | mĩ | M + ĩ is valid |
box | bõ | B + õ is valid |
six | sĩ | S + ĩ is valid |
Technical Implementation
Auto-Restore is implemented in the core engine:Examples
Success Cases (Auto-Restored)
Success Cases (Auto-Restored)
Failure Cases (Need ESC)
Failure Cases (Need ESC)
Configuration
Auto-Restore is always enabled and cannot be disabled. This is by design to provide a seamless bilingual typing experience.If you prefer to disable Vietnamese input entirely for certain apps, use Per-App Mode instead. See Smart Switching.
Comparison with Other IMEs
| Feature | Gõ Nhanh | macOS Telex | UniKey | OpenKey |
|---|---|---|---|---|
| Auto-Restore English | ✅ | ❌ | ❌ | ❌ |
| ESC to Restore | ✅ | ❌ | ✅ | ✅ |
| Pattern Detection | 8 types | N/A | Basic | Basic |
| Dictionary Lookup | ✅ | ❌ | ❌ | ❌ |
FAQ
Why doesn't 'mix' auto-restore?
Why doesn't 'mix' auto-restore?
Because “mĩ” (M + ĩ) is a valid Vietnamese syllable. Gõ Nhanh cannot distinguish intent without context. Press ESC to restore manually.
Can I add custom English words?
Can I add custom English words?
No, the English dictionary is built into the engine. However, the 8 pattern-based rules catch most common words automatically.
Does it work with VNI?
Does it work with VNI?
Yes, Auto-Restore works with both Telex and VNI input methods.
What about proper nouns?
What about proper nouns?
Proper nouns follow the same rules. If they match an English pattern, they’ll be restored. Use ESC for ambiguous cases.
Related Features
Input Methods
Learn about Telex and VNI
Smart Switching
Per-app Vietnamese mode