Skip to content

Commit b7534bc

Browse files
committed
Update Kitty
1 parent 432006e commit b7534bc

File tree

5 files changed

+36
-103
lines changed

5 files changed

+36
-103
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "config/kitty/kitty-themes"]
2+
path = config/kitty/kitty-themes
3+
url = https://github.com/dexpota/kitty-themes.git

config/kitty/current-theme.conf

-80
This file was deleted.

config/kitty/keymap.conf

+11-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.macos_option_as_alt
33
macos_option_as_alt yes
44
# Send last command in another window without leaving (!! is last command)
5-
map cmd+\ remote_control send-text --match recent:1 !!\\n\\n
5+
map cmd+; remote_control send-text --match recent:1 !!\\n\\n
66
map ctrl+shift+n no_op
77
map ctrl+shift+g no_op
88

@@ -37,15 +37,15 @@ map cmd+l next_layout
3737
map cmd+x layout_action rotate
3838
# toggle layout and focus the last window
3939
map cmd+shift+enter combine : toggle_layout stack : nth_window -1
40-
map cmd+; kitten kitten/toggle_term.py
40+
map cmd+\ kitten kitten/toggle_term.py
4141
map cmd+enter toggle_layout stack
4242
map cmd+e nth_window -1
4343

4444
map cmd+s swap_with_window
45-
map ctrl+alt+left move_window left
46-
map ctrl+alt+down move_window bottom
47-
map ctrl+alt+up move_window top
48-
map ctrl+alt+right move_window right
45+
map ctrl+cmd+h move_window left
46+
map ctrl+cmd+j move_window bottom
47+
map ctrl+cmd+k move_window top
48+
map ctrl+cmd+l move_window right
4949

5050
# Windows
5151
map cmd+w close_window
@@ -88,8 +88,11 @@ map cmd+esc detach_window ask
8888
map cmd+shift+minus set_background_opacity -0.02
8989
map cmd+shift+equal set_background_opacity +0.02
9090
map cmd+shift+0 set_background_opacity 1
91-
map cmd+equal change_font_size all +0.5
92-
map cmd+minus change_font_size all -0.5
91+
map ctrl+shift+minus no_op
92+
map ctrl+shift+equal no_op
93+
map ctrl+shift+backspace no_op
94+
map cmd+equal change_font_size all +1.0
95+
map cmd+minus change_font_size all -1.0
9396
map cmd+0 change_font_size all 0
9497

9598
# Scroll kitty

config/kitty/kitty-themes

Submodule kitty-themes added at b1abdd5

config/kitty/kitty.conf

+21-15
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# vim:fileencoding=utf-8:foldmethod=marker
22

33
# BEGIN_KITTY_THEME
4-
# Catppuccin-Macchiato
5-
include current-theme.conf
4+
include kitty-themes/themes/Dracula.conf
65
# END_KITTY_THEME
76

87
# https://www.nerdfonts.com/font-downloads
@@ -22,35 +21,42 @@ modify_font cell_width 95%
2221
# modify_font cell_height +1px
2322
macos_thicken_font 0.15
2423

25-
cursor #F977C2
26-
cursor_text_color #111111
27-
cursor_underline_thickness 10.0
28-
cursor_blink_interval 0.5
29-
cursor_stop_blinking_after 0
24+
# cursor #F977C2
25+
# cursor_text_color #111111
26+
# cursor_underline_thickness 10.0
27+
# cursor_blink_interval 0.5
28+
# cursor_stop_blinking_after 0
3029

3130
dynamic_background_opacity yes
3231
background_opacity 1
3332

33+
enable_cursor_trail yes
34+
cursor_trail 30000
35+
cursor_trail_decay 0.3 0.6
36+
3437
# layout: https://sw.kovidgoyal.net/kitty/layouts/
3538
tab_bar_edge top
3639
tab_bar_align left
3740
tab_bar_min_tabs 2
3841
# tab_activity_symbol 🔥
39-
tab_bar_style powerline
42+
tab_bar_style fade
4043
# tab_fade 0.25 0.5 0.75 1
41-
tab_powerline_style slanted
42-
tab_title_template "{index}{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}"
43-
active_tab_title_template "{index} {title}{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}"
44-
# tab_title_template "#{index} - {num_windows} {layout_name.upper()} {fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}"
44+
tab_bar_edge top
45+
tab_bar_align right
46+
# tab_powerline_style slanted
47+
tab_title_template "{index}{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab} {title}"
48+
# tab_title_template "{index} {title}{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}"
49+
# active_tab_title_template "{index} {title}{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}"
50+
# # tab_title_template "#{index} - {num_windows} {layout_name.upper()} {fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}"
4551
# tab_title_max_length 30
4652

4753
# window
4854
macos_traditional_fullscreen yes
4955
hide_window_decorations yes
50-
window_border_width 1.5pt
56+
# window_border_width 1.5pt
5157
# active_border_color #dc7c9b
52-
draw_minimal_borders no
53-
window_margin_width 0.5
58+
draw_minimal_borders yes
59+
# window_margin_width 0.5
5460

5561
enable_audio_bell no
5662

0 commit comments

Comments
 (0)