Created
June 29, 2024 23:02
-
-
Save bastos/52d0267a4497e7b0afff38d73ccf00fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:ft=kitty | |
## name: Tokyo Night | |
## license: MIT | |
## author: Folke Lemaitre | |
## upstream: https://github.com/folke/tokyonight.nvim/raw/main/extras/kitty/tokyonight_night.conf | |
background #1a1b26 | |
foreground #c0caf5 | |
selection_background #283457 | |
selection_foreground #c0caf5 | |
url_color #73daca | |
cursor #c0caf5 | |
cursor_text_color #1a1b26 | |
# Tabs | |
active_tab_background #7aa2f7 | |
active_tab_foreground #16161e | |
inactive_tab_background #292e42 | |
inactive_tab_foreground #545c7e | |
#tab_bar_background #15161e | |
# Windows | |
active_border_color #7aa2f7 | |
inactive_border_color #292e42 | |
# normal | |
color0 #15161e | |
color1 #f7768e | |
color2 #9ece6a | |
color3 #e0af68 | |
color4 #7aa2f7 | |
color5 #bb9af7 | |
color6 #7dcfff | |
color7 #a9b1d6 | |
# bright | |
color8 #414868 | |
color9 #f7768e | |
color10 #9ece6a | |
color11 #e0af68 | |
color12 #7aa2f7 | |
color13 #bb9af7 | |
color14 #7dcfff | |
color15 #c0caf5 | |
# extended colors | |
color16 #ff9e64 | |
color17 #db4b4b | |
# Configuration | |
term xterm-256color | |
shell_integration enabled | |
allow_hyperlinks yes | |
editor vim | |
tab_bar_style powerline | |
tab_powerline_style angled | |
macos_option_as_alt yes | |
window_border_width 1.5pt | |
window_resize_step_cells 2 | |
window_resize_step_lines 2 | |
window_padding_width 2 | |
initial_window_width 640 | |
initial_window_height 400 | |
draw_minimal_borders yes | |
inactive_text_alpha 0.7 | |
hide_window_decorations no | |
macos_titlebar_color background | |
macos_thicken_font 0.75 | |
active_border_color none | |
enabled_layouts splits | |
enable_audio_bell no | |
font_family FiraCode Nerd Font Mono Retina | |
font_size 16.0 | |
# clear the terminal screen | |
map cmd+k combine : clear_terminal scrollback active : send_text normal,application \x0c | |
# jump to beginning and end of word | |
map alt+left send_text all \x1b\x62 | |
map alt+right send_text all \x1b\x66 | |
# jump to beginning and end of line | |
map cmd+left send_text all \x01 | |
map cmd+right send_text all \x05 | |
map cmd+1 goto_tab 1 | |
map cmd+2 goto_tab 2 | |
map cmd+3 goto_tab 3 | |
map cmd+4 goto_tab 4 | |
map cmd+5 goto_tab 5 | |
map cmd+6 goto_tab 6 | |
map cmd+7 goto_tab 7 | |
map cmd+8 goto_tab 8 | |
map cmd+9 goto_tab 9 | |
map cmd+equal change_font_size all +2.0 | |
map cmd+minus change_font_size all -2.0 | |
map cmd+0 change_font_size all 0 | |
map cmd+c copy_to_clipboard | |
map cmd+v paste_from_clipboard | |
# Window | |
map alt+1 goto_tab 1 | |
map alt+2 goto_tab 2 | |
map alt+3 goto_tab 3 | |
map alt+4 goto_tab 4 | |
map alt+5 goto_tab 5 | |
map alt+6 goto_tab 6 | |
map alt+7 goto_tab 7 | |
map alt+8 goto_tab 8 | |
map alt+9 goto_tab 9 | |
map alt+0 goto_tab 0 | |
# map cmd+t new_tab | |
map cmd+t launch --cwd=current --type=tab | |
map cmd+] next_window | |
map cmd+[ previous_window | |
# Open current directory in $EDITOR | |
map f2 launch --cwd=current --type=tab nvim . | |
# Remote | |
allow_remote_control yes | |
listen_on unix:/tmp/kitty | |
shell_integration enabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment