Bug 515522 - Esc key hides terminal when Kate is open in VI insert mode
Summary: Esc key hides terminal when Kate is open in VI insert mode
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: Vi Input Mode (other bugs)
Version First Reported In: 25.12.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-04 20:17 UTC by Denys Nykula
Modified: 2026-02-04 20:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denys Nykula 2026-02-04 20:17:01 UTC
SUMMARY
A Node.js REPL is open inside Kate in a terminal, where I'm building database queries. I'm writing a script that will use some of the queries and the shapes of their results, so I look at the terminal while typing in the editor. My netbook doesn't have keys such as Delete, Home or End, so I'm using VI modes in Kate (really good built-in feature, thanks! In VSCodium I'm using an Emacs keymap extension). Every time I switch from the VI insert mode to the VI normal mode using Esc key, the terminal hides and I have to open it again with F4.

STEPS TO REPRODUCE
1. Turn on VI mode in Kate editing settings, open a file to edit, F4 to open terminal, work there
2. Switch to the editor panel, press "i" to enter insert mode, insert something while looking at the terminal
3. Press Esc to switch to normal mode

OBSERVED RESULT
Normal mode is entered, at the same time the terminal closes.

EXPECTED RESULT
Normal mode is entered, but the terminal stays open.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.20.0
Qt Version: 6.9.2
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Bug 446355 (https://bugs.kde.org/show_bug.cgi?id=446355) is about Vim inside a Kate terminal. This bug is about a terminal inside Kate in VI mode.