update at 2025-11-09 22:04:12
This commit is contained in:
@@ -11,6 +11,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
---
|
||||
|
||||
## [2.0.3] - 2025-11-09
|
||||
|
||||
### Fixed
|
||||
|
||||
#### Obsidian Plugin
|
||||
- **Fixed input method switching triggered by ESC in Normal mode**:
|
||||
- Issue: Pressing ESC in Normal mode would unexpectedly trigger input method switching (from Chinese to English, then English to English on second press)
|
||||
- Cause: `handleKeyDown` function didn't check current Vim mode when handling ESC key
|
||||
- Solution: Added mode check to only save IM state and switch to English when ESC is pressed in Insert or Replace mode
|
||||
- Result: Behavior now consistent with native Vim plugin - ESC in Normal mode doesn't change input method
|
||||
|
||||
### Improved
|
||||
|
||||
- Enhanced accuracy of mode detection
|
||||
- Optimized ESC key handling logic
|
||||
|
||||
---
|
||||
|
||||
## [2.0.0] - 2025-11-04
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user