English 中文(简体)
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 shortcut?

最佳回答

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

问题回答

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.

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.

Screenshot of shortcut settings





相关问题
How to go to an error using only the keyboard in Eclipse?

Let s say I have a file with 10 lines and I have a problem with the name of the package (or something) and the cursor is on the last line of the text. How can I go directly to that line to see what ...

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. ...

Shortcuts to change the active tab in my application

My application has a main window that contain a TabControl with about 7 TabItems. Inside each tabItem I put a UserControl. I would like that (no matter the active tab, or control) when the user press ...

Keyboard shortcut to build only startup project?

I ve tried to find a keyboard shortcut to build only the startup project In VS2008. I only found a configurable shortcut to build the project which is currently viewed, which isn t as good. Any ...

Custom Emacs key bindings are not working

The key bindings I ve defined in my .emacs file aren t working. Here s the file: ;init modes (menu-bar-mode 0) (tool-bar-mode 0) (cua-mode) (column-number-mode) (fset perl-mode cperl-mode) (cperl-...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

热门标签