| Summary: | vi keybindings scrambled | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-ktexteditor | Reporter: | Ph. Marek <philipp> | 
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> | 
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | thomas.friedrichsmeier | 
| Priority: | NOR | ||
| Version First Reported In: | 6.19.0 | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | scrambled data after saving | ||
Re-assigning, as the same problem occurs in kate (25.08.2; Frameworks 6.19.0; OpenSuse Tumbleweed) and kwrite (23.08.5; Frameworks 5.115.0; Ubuntu 24.04). To reproduce in kate: 1) Go to Settings->Configure Kate->Editing->Vi Input Mode 2) Click "Add New Mapping", enter "<f2>", and "vap<ctrl+enter>" in the "Command", and "Replacement"-fields, respectively. 3) Click ok, close the settings dialog 4) Repeat step 1, and observe the scrambled entry in "Replacement" Additional observations: - Problem appears to be limited to the "Replacement"-column (not the "Command"-column) - Appears to occur, only if the replacement contains special keys like e.g. "<enter>"  | 
Created attachment 186331 [details] scrambled data after saving SUMMARY Using 0.8.2-1 I cannot define vim keybindings. STEPS TO REPRODUCE (sorry about mistranslations) 1. goto to settings, script editor, 2. set default input mode to "vi" 3. in "vi inputmode", insert a new "command" - eg. for normal mode "<f2>", "vap<ctrl-enter>", and acknowledge with "OK" 4. go back to dialog and see the replacement scrambled (see screenshot) OBSERVED RESULT scrambled charactes EXPECTED RESULT replacement as given just before