kitty.conf 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. #: Color scheme
  2. include ~/.config/kitty/themes/everforest_dark_medium_my.conf
  3. background_opacity 1.0
  4. dynamic_background_opacity no
  5. #: Fonts
  6. # font_family JetBrainsMono NF
  7. # font_family FiraCode Nerd Font
  8. # font_family FiraCode Nerd Font Ret
  9. font_family FiraMono Nerd Font
  10. bold_font FiraMono Nerd Font
  11. italic_font Fira Mono
  12. bold_italic_font Fira Mono
  13. # font_family IosevkaCC
  14. # font_family Source Code Pro
  15. # font_family MesloLGS Nerd Font
  16. # font_family Hack Nerd Font
  17. # font_family Mononoki Nerd Font
  18. # bold_font auto
  19. # italic_font auto
  20. # bold_italic_font auto
  21. # bold_font JetBrainsMono NF Bold
  22. # italic_font JetBrainsMono NF Italic
  23. # bold_italic_font JetBrainsMono NF Bold Italic
  24. font_size 18.0
  25. # Kitty's font was more spaced compared to alacritty's, tried font variations
  26. # but it didn't change, so I went with this, it works fine
  27. # modify_font cell_width 95%
  28. # modify_font cell_height -5px
  29. # modify_font cell_height 101%
  30. # adjust_line_height 2
  31. # adjust_column_width 0
  32. # adjust_baseline 0
  33. disable_ligatures always
  34. #: Cursor customization
  35. cursor_shape block
  36. # cursor_beam_thickness 1.5
  37. # cursor_underline_thickness 2.0
  38. cursor_shape_unfocused hollow
  39. shell_integration no-cursor
  40. cursor_blink_interval -1
  41. cursor_stop_blinking_after 15.0
  42. #: Scrollback
  43. scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS -M -i -j5 +INPUT_LINE_NUMBER
  44. scrollback_lines 5000
  45. #: Mouse
  46. url_style curly
  47. #: Window layout
  48. # Make kitty borderless
  49. # "yes" disables round corners and hides the title bar
  50. # "titlebar-only" leaves round corners but hides title bar
  51. hide_window_decorations yes
  52. # hide_window_decorations titlebar-only
  53. # window_logo_path window-logo.png
  54. # window_logo_alpha 0.15
  55. # enabled_layouts splits,stack
  56. #: The window padding (in pts) (blank area between the text and the
  57. #: window border). A single value sets all four sides. Two values set
  58. #: the vertical and horizontal sides. Three values set top, horizontal
  59. #: and bottom. Four values set top, right, bottom and left.
  60. window_padding_width 0 0 0 0
  61. # window_padding_width 0 1 3 1
  62. #: Ask for confirmation when closing an OS window or a tab with at
  63. confirm_os_window_close 0
  64. #: Keyboard shortcuts
  65. kitty_mod ctrl+shift
  66. clear_all_shortcuts yes
  67. #: Clipboard
  68. map kitty_mod+c copy_to_clipboard
  69. map kitty_mod+v paste_from_clipboard
  70. #: Font sizes
  71. map ctrl+equal change_font_size all +1.0
  72. map ctrl+minus change_font_size all -1.0
  73. map ctrl+0 change_font_size all 0
  74. #: Scrolling
  75. map kitty_mod+up scroll_line_up
  76. map kitty_mod+down scroll_line_down
  77. map kitty_mod+page_up scroll_page_up
  78. map kitty_mod+page_down scroll_page_down
  79. map kitty_mod+home scroll_home
  80. map kitty_mod+end scroll_end
  81. #: Config file
  82. map ctrl+shift+f2 edit_config_file
  83. map ctrl+shift+f5 load_config_file
  84. # #: Tab management
  85. #
  86. # map ctrl+shift+t new_tab
  87. #
  88. # map ctrl+] next_tab
  89. # map ctrl+[ previous_tab
  90. #
  91. # map ctrl+1 goto_tab 1
  92. # map ctrl+2 goto_tab 2
  93. # map ctrl+3 goto_tab 3
  94. # map ctrl+4 goto_tab 4
  95. # map ctrl+5 goto_tab 5
  96. # map ctrl+6 goto_tab 6
  97. # map ctrl+7 goto_tab 7
  98. # map ctrl+8 goto_tab 8
  99. # map ctrl+9 goto_tab 9
  100. #
  101. # map ctrl+. move_tab_forward
  102. # map ctrl+, move_tab_backward
  103. #
  104. # # map kitty_mod+t set_tab_title
  105. # #: Window management
  106. # map kitty_mod+enter new_window
  107. # map kitty_mod+o close_other_windows_in_tab
  108. # map kitty_mod+z launch --location=hsplit
  109. # map kitty_mod+x launch --location=vsplit
  110. #
  111. # map kitty_mod+k neighboring_window up
  112. # map kitty_mod+j neighboring_window down
  113. # map kitty_mod+h neighboring_window left
  114. # map kitty_mod+l neighboring_window right
  115. # map kitty_mod+p nth_window -1
  116. # map kitty_mod+1 first_window
  117. # map kitty_mod+2 second_window
  118. # map kitty_mod+3 third_window
  119. # map kitty_mod+4 fourth_window
  120. # map kitty_mod+5 fifth_window
  121. # map kitty_mod+6 sixth_window
  122. # map kitty_mod+7 seventh_window
  123. # map kitty_mod+8 eighth_window
  124. # map kitty_mod+9 ninth_window
  125. # map kitty_mod+0 tenth_window
  126. # map kitty_mod+` move_window_to_top
  127. # map cmd+r start_resizing_window
  128. # map kitty_mod+- focus_visible_window
  129. # map cmd+s swap_with_window
  130. # #: Layout management
  131. #
  132. # map kitty_mod+z toggle_layout stack
  133. # #: Miscellaneous
  134. #
  135. # map shift+escape kitty_shell window