Terminal command in Kate using an unknown profile?

David O'Brien daobrien at redhat.com
Fri Feb 7 10:00:29 GMT 2025


Thanks Waqar I did eventually discover right-click to change the profile 
and was just about to provide an update.

On pressing Esc, I don't want the terminal to close. I'm talking about 
having a file open in Vim from that terminal panel and editing it, and 
then pressing Esc to return to Command mode to save and close the file. 
That's what has stopped working for some reason. It's the same when I've 
edited any number of files and want to commit them; after I run `git 
commit` and enter a commit message, pressing Esc *used to* return Vim to 
Command mode. It no longer does that.

I can work with `Ctrl+[` as a workaround, but I would dearly love to 
know what's happened to Esc.

Thanks again for your help.

David

On 2/7/25 5:52 PM, Waqar Ahmed wrote:
> Kate has a list of programs for which pressing Esc doesn't close the
> terminal panel. See the "Terminal" page in settings dialog. It could
> be that somehow, for some reason Konsole isn't able to tell what
> foreground process is running in the terminal atm and thus Kate just
> closes the panel on Esc (IIRC, in flatpak this is an issue). You can
> disable this behaviour in the same dialog.
>
> On changing the profile: Right click in the terminal -> Edit
> profile... / Switch Profile
>
> A workaround: You can use `Ctrl + [` as an alternative shortcut to Esc.
>
-- 
David
Introvert/Unclubbable/Cool

I acknowledge and pay respect to the past and present Traditional Custodians and Elders of this nation.



More information about the KWrite-Devel mailing list