- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13
Open
Description
Context
This issue was identified during review of PR #272:
- PR: Consolidate notebook editor state module #272
- Comment: Consolidate notebook editor state module #272 (comment)
- Requested by: @panarch
Description
In core/src/state/notebook/inner_state/editor/normal_mode/delete.rs, the delete word handler (line 50) only handles KeyEvent::E for DeleteWordEnd, while the corresponding handler in change.rs (line 35) handles both KeyEvent::E | KeyEvent::W.
For consistency with Vim behavior, where both dw and de are valid delete word operations, the delete.rs handler should also accept KeyEvent::W.
Files Affected
- core/src/state/notebook/inner_state/editor/normal_mode/delete.rs(line 50)
Expected Behavior
Both dw and de should perform delete word operations, consistent with change.rs implementation.
Metadata
Metadata
Assignees
Labels
No labels