Add Kates "Open With" to KWrite : solved

I use kwrite heavily and miss the “open with…” feature of Kate.

Example : writing markdown and want to open it in another app.

cheers.

It is still there, though initially you may have to go to the hamburger menu >> File >> Open With to use it.

Hitting ctrl-m will toggle the classic drop down menus, so the File menu is right up top, or you can add a button to the toolbar for it.

I don’t seem to have it on Fedora 42.

Perhaps it’s a distro issue? A build flag? I should check the spec file.

It has the “open containing folder” which is pretty useful.

But not the “open with ” menu.

kate/apps/lib/katemainwindow.cpp

line 553

// no open with for KWrite ATM
documentOpenWith->setVisible(KateApp::isKate());

Right, so let’s say I just installed Marktext, or Ghostwriter… and they’re not already set up to open markdown or whatever…

In Kate (with monspaced font) sometimes I want to open a file in kwrite (with a nicer proportional font), but for sure, I could also choose anything else…

F10

:cross_mark: Alt Menu access is becoming increasingly less popular, though you CAN toggle the menu with CtrlM there’s a tidier way:

Try pressing F10F I’ (File>wIth).

I actually prefer this to having to press both AltF together…

From here, your ‘second’ option should be high on the list… though the list can be long.

If you then press Other, you can then type ‘ghost’ or ‘kwrite’ or whatever…

Argh, I was going the other direction for some reason, and kate has this option of course.

Right, so F10 > I pops the correct menu open, and I can arrow down, choose the app and slap enter to open it.

Very good.

No entry in the keyboard shortcuts page for directly activatng “Open with…” , adding hotkey entries is on my list of things to learn so I’ll tackle that next.

I wonder what the reason for hiding the “Open with…” feature was, seems quite arbitrary.