kitty-terminal-cheatsheet
kitty-terminal-cheatsheet
Scrolling
Action Shortcut
Scrolling Marks
• scroll_end: Scroll to the bottom of the scrollback buffer. Default shortcut: • remove_marker: Remove a previously created marker
ctrl+shift+end • scroll_to_mark: Scroll to the next or previous mark of the specified type
• scroll_home: Scroll to the top of the scrollback buffer. Default shortcut: • toggle_marker: Toggle the current marker on/off
ctrl+shift+home • create_marker: Create a new marker
• scroll_line_down: Scroll down by one line. Default shortcut: ctrl+shift+down
• scroll_line_up: Scroll up by one line. Default shortcut: ctrl+shift+up
• scroll_page_down: Scroll down by one page. Default shortcut: Tab management
ctrl+shift+page_down
• detach_tab: Detach a tab, moving it to another OS Window
• scroll_page_up: Scroll up by one page. Default shortcut: ctrl+shift+page_up
• goto_tab: Go to the specified tab, by number, starting with 1. Zero and negative
numbers go to previously active tabs
Windows management • move_tab_backward: Move the active tab backward. Default shortcut: ctrl+shift+,
• move_tab_forward: Move the active tab forward. Default shortcut: ctrl+shift+.
• close_other_windows_in_tab: Close all windows in the tab other than the currently • new_tab: Create a new tab. Default shortcut: ctrl+shift+t
active window. • new_tab_with_cwd: Create a new tab with working directory for the window in it
• close_window: Close the currently active window. Default shortcut: ctrl+shift+w set to the same as the active window.
• move_window: Move the window in the specified direction. Default shortcut: • next_tab: Make the next tab active. Default shortcut: ctrl+shift+right
ctrl+shift+b • previous_tab: Make the previous tab active. Default shortcut: ctrl+shift+left
• move_window_forward: Move active window forward (swap it with the next window). • select_tab: Interactively select a tab to switch to
Default shortcut: ctrl+shift+f • set_tab_title: Change the title of the active tab. Default shortcut:
• move_window_to_top: Move active window to the top (make it the first window). ctrl+shift+alt+t
Default shortcut: ctrl+shift+‘
• neighboring_window: Focus the neighboring window in the current tab. Default
shortcut: ctrl+shift+] Miscellaneous
• nth_window: Focus the nth window if positive or the previously active windows if
• send_text: Send the specified text to the active window. Default shortcut:
negative. Default shortcut: ctrl+shift+[
ctrl+shift+alt+h
• reset_window_sizes: Reset window sizes undoing any dynamic resizing of windows.
• signal_child: Send the specified SIGNAL to the foreground process in the active
• resize_window: Resize the active window by the specified amount.
window.
• change_font_size: Change the font size for the current or all OS Win-
• clear_terminal: Clear the terminal. Default shortcut: ctrl+shift+delete
dows. Default shortcuts using this action: ctrl+shift+minus, ctrl+shift+equal,
• combine: Combine multiple actions and map to a single keypress. The syntax is:
ctrl+shift+backspace
map key combine action1 action2 action3 …
• close_os_window: Close the currently active OS Window. Default shortcut:
• disable_ligatures_in: Turn on/off ligatures in the specified window.
shift+cmd+w
• discard_event: Discard this event completely ignoring it.
• detach_window: Detach a window, moving it to another tab or OS Window.
• edit_config_file: Edit the kitty.conf config file in your favorite text editor.
• new_os_window_with_cwd: New OS Window with the same working directory as the
Default shortcut: ctrl+shift+f2
currently active window.
• input_unicode_character: Input an arbitrary unicode character.
• new_window: Create a new window. Default shortcut: ctrl+shift+enter
• kitten: Run the specified kitten. Default shortcuts using this action:
• new_window_with_cwd: Create a new window with working directory same as that of
ctrl+shift+p>n, ctrl+shift+u, ctrl+shift+p>h, ctrl+shift+p>l, ctrl+shift+p>f,
the active window.
ctrl+shift+p>w, ctrl+shift+p>y, ctrl+shift+p>shift+f
• quit: Quit, closing all windows
• kitty_shell: Run the kitty shell to control kitty with commands. Default shortcut:
• set_background_opacity: Set the background opacity for the active OS Win-
ctrl+shift+escape
dow. Default shortcuts using this action: ctrl+shift+a>l, ctrl+shift+a>1,
• launch: Launch the specified program in a new window/tab/etc.
ctrl+shift+a>m, ctrl+shift+a>d
• load_config_file: Reload the config file. Default shortcut: ctrl+shift+f5
• start_resizing_window: Resize the active window interactively. Default shortcut:
• open_url_with_hints: Click a URL using the keyboard. Default shortcut:
ctrl+shift+r
ctrl+shift+e
• toggle_fullscreen: Toggle the fullscreen status of the active OS Window. Default
• remote_control: Run a remote control command.
shortcut: ctrl+shift+f11
• set_colors: Change colors in the specified windows.
• toggle_maximized: Toggle the maximized status of the active OS Window. Default
• show_kitty_env_vars: Show the environment variables that the kitty process sees.
shortcut: ctrl+shift+f10