STEPS TO REPRODUCE 1. Use `x`, `d`, `dd`, `c`, `s` , `delete` keys to delete texts 2. You can try adding `"_`, `"*` before above command OBSERVED RESULT Deleted texts always go into system clipboard EXPECTED RESULT Don't write to system clipboard when not supposed to SOFTWARE/OS VERSIONS Linux/KDE Plasma: kded-5.76.0 (available in About System) KDE Plasma Version: 5.18.6 KDE Frameworks Version: 5.76.0 Qt Version: 5.12.7 ADDITIONAL INFORMATION More details at https://www.reddit.com/r/kde/comments/upyuci
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/396
Git commit 25b4cdff7577c137086351fe44e83b8ee99721b6 by Christoph Cullmann, on behalf of Helga Albert-Huszár. Committed on 07/08/2022 at 15:03. Pushed by cullmann into branch 'master'. Fix vi mode delete behavior Deleting text using the black hole register resulted in the text being copied to the numbered registers and the clipboard. M +4 -4 src/vimode/modes/modebase.cpp https://invent.kde.org/frameworks/ktexteditor/commit/25b4cdff7577c137086351fe44e83b8ee99721b6