Tabs and Windows¶
kitty is capable of running multiple programs organized into tabs and windows. The top level of organization is the Tab. Each tab consists of one or more windows. The windows can be arranged in multiple different layouts, like windows are organized in a tiling window manager. The keyboard controls (which are all customizable) for tabs and windows are:
Scrolling¶
Action |
Shortcut |
---|---|
Scroll line up |
|
Scroll line down |
|
Scroll page up |
|
Scroll page down |
|
Scroll to top |
|
Scroll to bottom |
|
Tabs¶
Action |
Shortcut |
---|---|
New tab |
|
Close tab |
|
Next tab |
|
Previous tab |
|
Next layout |
|
Move tab forward |
|
Move tab backward |
|
Set tab title |
|
Windows¶
Action |
Shortcut |
---|---|
New window |
|
New OS window |
|
Close window |
|
Next window |
|
Previous window |
|
Move window forward |
|
Move window backward |
|
Move window to top |
|
Focus specific window |
|
Additionally, you can define shortcuts in kitty.conf
to focus neighboring
windows and move windows around (similar to window movement in vim):
map ctrl+left neighboring_window left
map shift+left move_window right
map ctrl+down neighboring_window down
map shift+down move_window up
...
You can also define a shortcut to switch to the previously active window:
map ctrl+p nth_window -1
nth_window
will focus the nth window for positive numbers and the
previously active windows for negative numbers.
You can define shortcuts to detach the current window and move it to another tab or another OS window:
# moves the window into a new OS window
map ctrl+f2 detach_window
# moves the window into a new Tab
map ctrl+f3 detach_window new-tab
# asks which tab to move the window into
map ctrl+f4 detach_window ask
Similarly, you can detach the current tab, with:
# moves the tab into a new OS window
map ctrl+f2 detach_tab
# asks which OS Window to move the tab into
map ctrl+f4 detach_tab ask
Finally, you can define a shortcut to close all windows in a tab other than the currently active window:
map f9 close_other_windows_in_tab
Other keyboard shortcuts¶
Action |
Shortcut |
---|---|
Copy to clipboard |
|
Paste from clipboard |
|
Paste from selection |
|
Increase font size |
|
Decrease font size |
|
Restore font size |
|
Toggle fullscreen |
|
Toggle maximized |
|
Input unicode character |
|
Click URL using the keyboard |
|
Reset the terminal |
|
Reload |
|
Debug |
|
Pass current selection to program |
|
Edit kitty config file |
|
Open a kitty shell |
|
Increase background opacity |
|
Decrease background opacity |
|
Full background opacity |
|
Reset background opacity |