The built in Terminal Emulator is a copy of the KDE Konsole terminal application, for your convenience. It is available from the → → menu item and will get the focus whenever displayed. Additionally, if the Automatically synchronize the terminal with the current document when possible option is enabled, it will change to the directory of the current document if possible when it is displayed, or when the current document changes.
The default location in the Kate window is at the bottom, below the editing area.
You can configure the Konsole using its mouse button menu, for more information, see the Konsole manual.
The built-in terminal emulator is provided by the Terminal Tool View plugin.
- → →
Toggles the display of the built-in terminal emulator.
When activated for the first time, the terminal will be created.
When the terminal emulator is displayed, it will get the focus, so that you can start typing in commands immediately. If the Automatically synchronize the terminal with the current document when possible option is enabled in the Terminal page of the Main configuration dialog the shell session will change to the directory of the active document, if it is a local file.
Feed the currently selected text into the built-in terminal emulator. No newline is added after the text.
This will cause the built-in Terminal to cd into the directory of the active document.
Alternatively, you can configure Kate to always keep the terminal in sync with the current document. See the section called “Configuration” for more information.
Switch the focus from the current document to the terminal and vice versa.
You can configure the Terminal Tool View plugin on the Terminal page of the configuration dialog.
The following options are available:
- Automatically synchronize the terminal with the current document when possible
This will cause the built-in terminal to cd into the directory of the active document when launched and when a new document gets the focus. If not enabled, you have to do all your navigation in the terminal on your own.
- Set EDITOR environment variable to 'kate -b'
This sets the
EDITORenvironment variable so programs run in the built-in terminal that automatically open a file in an editor will open them in Kate instead of the default editor configured in your shell. You will not be able to continue using the terminal until you have closed the file in Kate, so the calling program is aware you have finished editing the file.
- Hide Konsole on pressing 'Esc'
This allows closing the built-in terminal by pressing the Esc key. May cause issues with terminal applications that use Esc key, e.g. vim. Add such applications in the text input box below. The items in the list should be separated with comma.