Switching focus between editor and terminal in Kate
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 shortc开发者_如何学Gout?
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.
Note that the Kate bug has been fixed. The correct answer to this question is now F4
.
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.
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.
精彩评论