mirror of
https://github.com/anthonyoteri/dotfiles.git
synced 2026-06-05 15:46:54 -04:00
feat: improve kitty config for efficiency, performance, and readability
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
# Enable GPU rendering for performance
|
||||||
|
enable_gpu_renderer yes
|
||||||
# vim:fileencoding=utf-8:foldmethod=marker
|
# vim:fileencoding=utf-8:foldmethod=marker
|
||||||
|
|
||||||
#: Fonts {{{
|
#: Fonts {{{
|
||||||
@@ -19,8 +21,11 @@
|
|||||||
#: fonts manually, read the font specification syntax
|
#: fonts manually, read the font specification syntax
|
||||||
#: <https://sw.kovidgoyal.net/kitty/kittens/choose-fonts/#font-spec-
|
#: <https://sw.kovidgoyal.net/kitty/kittens/choose-fonts/#font-spec-
|
||||||
#: syntax>.
|
#: syntax>.
|
||||||
# font_family Hack
|
# Recommended: FiraCode or JetBrains Mono for ligatures
|
||||||
|
font_family FiraCode
|
||||||
font_size 15.0
|
font_size 15.0
|
||||||
|
# Add padding for readability
|
||||||
|
window_padding_width 8
|
||||||
# font_size 11.0
|
# font_size 11.0
|
||||||
|
|
||||||
#: Font size (in pts).
|
#: Font size (in pts).
|
||||||
@@ -71,7 +76,7 @@ font_size 15.0
|
|||||||
|
|
||||||
#: narrow_symbols codepoints [optionally the number of cells]
|
#: narrow_symbols codepoints [optionally the number of cells]
|
||||||
|
|
||||||
# disable_ligatures never
|
disable_ligatures never
|
||||||
|
|
||||||
#: Choose how you want to handle multi-character ligatures. The
|
#: Choose how you want to handle multi-character ligatures. The
|
||||||
#: default is to always render them. You can tell kitty to not render
|
#: default is to always render them. You can tell kitty to not render
|
||||||
@@ -376,6 +381,14 @@ font_size 15.0
|
|||||||
#: Scrollback {{{
|
#: Scrollback {{{
|
||||||
|
|
||||||
# scrollback_lines 2000
|
# scrollback_lines 2000
|
||||||
|
# Fast scrolling and mouse support
|
||||||
|
scrollback_lines 5000
|
||||||
|
wheel_scroll_multiplier 5.0
|
||||||
|
wheel_scroll_min_lines 1
|
||||||
|
touch_scroll_multiplier 1.0
|
||||||
|
detect_urls yes
|
||||||
|
copy_on_select clipboard
|
||||||
|
mouse_map middle release ungrabbed paste_from_selection
|
||||||
|
|
||||||
#: Number of lines of history to keep in memory for scrolling back.
|
#: Number of lines of history to keep in memory for scrolling back.
|
||||||
#: Memory is allocated on demand. Negative numbers are (effectively)
|
#: Memory is allocated on demand. Negative numbers are (effectively)
|
||||||
@@ -1232,7 +1245,7 @@ tab_bar_style powerline
|
|||||||
#: The maximum number of cells that can be used to render the text in
|
#: The maximum number of cells that can be used to render the text in
|
||||||
#: a tab. A value of zero means that no limit is applied.
|
#: a tab. A value of zero means that no limit is applied.
|
||||||
|
|
||||||
# tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{tab.last_focused_progress_percent}{title}"
|
tab_title_template "{index}:{title} [{tab.active_wd}]@{hostname}"
|
||||||
|
|
||||||
#: A template to render the tab title. The default just renders the
|
#: A template to render the tab title. The default just renders the
|
||||||
#: title with optional symbols for bell and activity. If you wish to
|
#: title with optional symbols for bell and activity. If you wish to
|
||||||
@@ -1314,7 +1327,7 @@ tab_bar_style powerline
|
|||||||
#: Color scheme {{{
|
#: Color scheme {{{
|
||||||
|
|
||||||
# foreground #dddddd
|
# foreground #dddddd
|
||||||
# background #000000
|
# background #181825
|
||||||
|
|
||||||
#: The foreground and background colors.
|
#: The foreground and background colors.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user