https://bugs.kde.org/show_bug.cgi?id=446355
Bug ID: 446355 Summary: Esc key closes terminal panel when Vim is open in Insert mode when using Git. Product: kate Version: 21.08.3 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: daobr...@redhat.com Target Milestone: --- SUMMARY I use Kate to edit XML and DocBook files on a daily basis. As required, I open the Terminal panel and run `git commit`, which opens Vim. Normally I enter a commit message and press Esc, and then `:wq`. Everything "just works". Yesterday I upgraded to Fedora 34. Now when I try to enter a commit message, when I press `Esc` the Terminal panel just closes, but the Vim session stays open (you can find it with `ps`). I've searched all the Kate shortcuts to see if `Esc` was mapped to something but can't see it. This only seems to happen when I use `git commit`. STEPS TO REPRODUCE I can do this: - F7 to open the terminal panel in Kate. - `vi my-file` to open a new file. - `i` to start editing stuff. - `Esc` to exit insert mode and proceed as normal. But, if I open the terminal panel and do git commit dir-name/ (as per normal) and then go into insert mode, I can't get out again. OBSERVED RESULT In the Terminal panel, `git commit <dir>` opens Vim. I can change to Insert mode but I cannot Escape from Insert mode. EXPECTED RESULT The `Esc` key should exit Insert mode and allow `:wq` etc., as normal. This has always worked before. SOFTWARE/OS VERSIONS Fedora 34 Gnome4 KDE Frameworks Version: Don't know Qt Version: qt-4.8.7-61.fc34.x86_64 (Is that what you need?) ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.