Kitty is a fast and lightweight terminal emulator for Mac and Linux. In this post, I will summarize some of its settings.
We can download the kitty binary release from its GitHub release
page. After installation, its
config file is located at
How to copy and paste in Kitty terminal?
By default, to copy selected text to clipboard in Kitty, we can use the shortcut Ctrl+ Shift + C. To paste the selected text, we can use the mouse middle click.
We can also edit the Kitty config file to add more copy and paste shortcut:
map cmd+c copy_to_clipboard map cmd+v paste_from_clipboard map shift+insert paste_from_clipboard
Most terminal emulators have this nice feature to copy the selected text to clipboard by default. In Kitty, we can also do this. Just enable the following option:
How to open URLs?
Iterm2 has the feature to open a URL in default browser if you press Ctrl and click the URL link. In Kitty, we can achieve the same behavior with the following settings:
# show single underline when hovering the mouse over URL url_style single open_url_modifiers ctrl
By default, Kitty will show tab when tab number is above 1. The tab will be shown at the bottom of Kitty window. To change this behaviour, use the following setting:
Use option as alt key
Option + LETTER will input the corresponding Unicode characters
on MacOS. So any shortcut starting with Option can not work
properly. To use Option as Alt, use the following config:
More documentation here.
How to change color schemes?
Kitty uses a list of colors for setting the color scheme. Unlike iterm2, we
need to manually change the color config inside
We can find a lot of color schemes or themes for Kitty on GitHub. To use these color themes, just copy the color definition to your Kitty config.
This repo also has a lot of Kitty themes for you to choose.
License CC BY-NC-ND 4.0