kitty - the fast, feature-rich, cross-platform, GPU based terminal
Configuration File
$HOME/.config/kitty/kitty.conf is where you will find the configuration file.
-> ls -l $HOME/.config/kitty/kitty.conf
.rw-rw-r--@ 88k thedevjournal 8 Feb 2025 /home/thedevjournal/.config/kitty/kitty.conf
Changing Font and Size
You can use the kitty +list-fonts to list the available fonts.
font_family Operator Mono Book
bold_font Operator Mono Medium
italic_font Operator Mono Book Italic
bold_italic_font Operator Mono Medium Italic
font_size 16.0
Configure Scrollback
Indicates how many lines you can scroll back. Higher value means you can scroll up quite a lot, but at the cost of your memory.
Also, if you scroll using mouse, you might want to configure wheel_scroll_multiplier. This allows you to scroll faster with mouse wheel.
wheel_scroll_multiplier 5.0
Configuring Tabs
Basic
First and foremost, very basic configurations relating to tabs.
tab_bar_edge bottom # Where to place the tab bar (top or bottom). bottom is defaulttab_bar_margin_width 0.0 # The margin to the left and right of the tab bar (in pts).tab_bar_margin_height 0.0 0.0 # The margin above and below the tab bar (in pts)tab_bar_align left # Alignment of tab bars - left (default), center, righttab_bar_min_tabs 2# Min number of tabs to show the tab bartab_switch_strategy previous # Which tab to select when a tab is closed - previous(default), left or right, last
Style and Colors
The main configuration is tab_bar_style which takes values - fade (default), separator, powerline, custom, hidden. Following are few examples for reference.
background_opacity 1.0 # Configure opacity of the kitty windowbackground_image /home/absolute/path/to/the/png-image.png
background_image_layout scaled # Other values - tiled, mirror-tiled, scaled, clamped, centered, cscaledbackground_tint 0.2 # How much tint should be applied to background-image
Logo
You can also add a logo/watermark to your terminal using following configs.
window_logo_path /home/absolute/path/to/the/png-logo-image.png
window_logo_position bottom-right # Where is the logo placedwindow_logo_alpha 0.5 # How much does the logo fade into background
Borders
Border configs are as below:
window_margin_width 1# Have a bit of margin to enable the borders for split paneswindow_border_width 3px # Width of the borderswindow_padding_width 5# Padding of content inside the window (all 4 sides)window_padding_width 535# Padding of content inside the window (top horizontal bottom)window_padding_width 51053# Padding of content inside the window (top right bottom left)active_border_color #00FF00 # Border color for active window panelinactive_border_color #333333 # Border color for inactive window panelinactive_text_alpha 0.25 # Dim the text in the inactive window panel
Clipboard
Copy on Select
copy_on_select yes
Right click to Paste
mouse_map right click ungrabbed paste_from_selection
Commands
kitty +list-fonts
Allows you to see available fonts and configure the one of your choice.
-> kitty +list-fonts
Andale Mono ∥ Mononoki Nerd Font
Courier ∥
Courier 10 Pitch ∥ Styles: Bold, Bold Italic, Italic, Regular
Courier New ∥
DejaVu Sans Mono ∥ Press the Enter key to choose this family
FreeMono ∥
IPAGothic ∥ --------------------------------------------------- preview ---------------------------------------------------
Liberation Mono ∥ abcdefghijklmnopqrstuvwxyz 0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ !"#$%&'()**+, - . /:; <<=>?@[]^_`{|}"~
Mitra ∥
>Mononoki Nerd Font ∥
Mononoki Nerd Font Mono ∥
Nimbus Mono PS ∥
Noto Mono ∥
Noto Sans SignWriting ∥
Ubuntu Mono ∥
Ubuntu Sans Mono ∥
Unifont ∥
Unifont CSUR ∥
Unifont Sample ∥
Unifont Upper ∥
Unifont-JP ∥