14

When working in Unix with various programming languages I often use Kate as my primary editor. It has a really nice function of being able to open a built-in terminal window which is quite useful.

The problem is that switching back and forth to the terminal view using a mouse is quite a pain and I can't find any shortcuts for this. The only shortcut I could find is for closing the entire terminal (not just changing the focus). This is a bit annoying as it causes the text in the terminal window to get truncated (I think it's a known Kate bug).

Does anyone know a better shortcut?

Jasper
  • 2,166
  • 4
  • 30
  • 50
Dana
  • 2,619
  • 5
  • 31
  • 45

4 Answers4

5

Note that the Kate bug has been fixed. The correct answer to this question is now F4.

dotancohen
  • 30,064
  • 36
  • 138
  • 197
  • 2
    Unfortunately is not working for me out of the box, however it can be configured in shortcuts, works great!. Kubuntu 16.10 – Javier Mr Sep 26 '16 at 20:27
  • 1
    This is working for me in Ubuntu 20.04. It's not very obvious though where there focus is, just a slight change to the cursors. This initially made me think it wasn't working. – Rodney Jul 02 '22 at 09:09
5

There's a "Focus Terminal" shortcut in the "Configure shortcuts"

There you can set it up. F4 didn't work by default in my case and Shift+Tab worked only in one direction.

ffddff
  • 51
  • 2
  • 2
3

this is a bug in kate. possible workarounds: a) shift back by pressing Shift+Tab, b) try another shortcut (some do work). see also Bug 157496: Alt+[Key] shortcuts for menu items do not work.

ax.
  • 58,560
  • 8
  • 81
  • 72
  • Yeah, they have a lot of bugs. Unfortunately, Shift+Tab didn't work. The only thing that seems to work for now is the shortcut that toggles the terminal. – Dana Nov 23 '09 at 14:01
0

Today (Kate v 22.08.2), it's Settings > Configure Keyboard Shortcuts > Type "terminal" in Search box > edit shortcut for "Focus Terminal Panel". For me, the default was Ctrl+Shift+ F4, while F4 hid the terminal. I swapped them because it's more convenient for me. The focus shift is only visible by appearance of the cursor changing slightly.

Screenshot of shortcut settings

Bennypr0fane
  • 103
  • 3