Question

I very often work with a lot of files opened in Kate. Then, when closing one of the files I am editing, I unconsciously press alt+F4 and then Kate happily closes ALL the opened files I was editing and leaves me again shouting and performing another resilience test with the keyboard and the hardware in general...

Isn't there a way to force Kate to show me a "confirm before closing" dialogue when I try to close more than one file at a time, like for instance Firefox does?

Was it helpful?

Solution

The Session chooser could be a workaround. All the files you had open before closing down Kate will be reopened.

To enable this function, go to Settings - Configure Kate. Under Application - Sessions choose one one of this behaviours:

  • Load last used session
  • Manually choose session

Then, you need to save the session manually (only the first time you use this session). Do that under Sessions - Save Session as. When you reopen that session later and make changes to that session (open files, close files), this changes will be saved automatically.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top