kitty: Update font size, tab bar and scroll back settings

Also disable the Ctrl+]/[ binding as it is used for tag jump in vim.
This commit is contained in:
Sanchayan Maity 2020-11-25 10:35:26 +05:30
parent 7ef8054d41
commit b1568e7803
1 changed files with 20 additions and 18 deletions

View File

@ -23,7 +23,7 @@ bold_italic_font auto
#: italic_font Operator Mono Book Italic
#: bold_italic_font Operator Mono Medium Italic
font_size 14.0
font_size 12.0
#: Font size (in pts)
@ -104,7 +104,7 @@ font_size 14.0
#: Scrollback {{{
# scrollback_lines 2000
scrollback_lines 4096
#: Number of lines of history to keep in memory for scrolling back.
#: Memory is allocated on demand. Negative numbers are (effectively)
@ -112,7 +112,7 @@ font_size 14.0
#: recommended as it can slow down resizing of the terminal and also
#: use large amounts of RAM.
# scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
#: Program with which to view scrollback in a new window. The
#: scrollback buffer is passed as STDIN to this program. If you change
@ -121,7 +121,7 @@ font_size 14.0
#: line above will be replaced by an integer representing which line
#: should be at the top of the screen.
# scrollback_pager_history_size 0
scrollback_pager_history_size 2
#: Separate scrollback history size, used only for browsing the
#: scrollback buffer (in MB). This separate buffer is not available
@ -388,26 +388,26 @@ remember_window_size no
#: Tab bar {{{
# tab_bar_edge bottom
tab_bar_edge bottom
#: Which edge to show the tab bar on, top or bottom
# tab_bar_margin_width 0.0
tab_bar_margin_width 0.0
#: The margin to the left and right of the tab bar (in pts)
# tab_bar_style fade
tab_bar_style powerline
#: The tab bar style, can be one of: fade, separator or hidden. In the
#: fade style, each tab's edges fade into the background color, in the
#: separator style, tabs are separated by a configurable separator.
# tab_bar_min_tabs 2
tab_bar_min_tabs 2
#: The minimum number of tabs that must exist before the tab bar is
#: shown
# tab_switch_strategy previous
tab_switch_strategy previous
#: The algorithm to use when switching to a tab when the current tab
#: is closed. The default of previous will switch to the last used
@ -428,19 +428,19 @@ remember_window_size no
#: The separator between tabs in the tab bar when using separator as
#: the tab_bar_style.
# tab_title_template {title}
tab_title_template {index}: {title}: {layout_name.upper()}
#: A template to render the tab title. The default just renders the
#: title. If you wish to include the tab-index as well, use something
#: like: {index}: {title}. Useful if you have shortcuts mapped for
#: goto_tab N.
# active_tab_foreground #000
# active_tab_background #eee
# active_tab_font_style bold-italic
# inactive_tab_foreground #444
# inactive_tab_background #999
# inactive_tab_font_style normal
active_tab_foreground #1C1B19
active_tab_background #FCE8C3
active_tab_font_style bold-italic
inactive_tab_foreground #FCE8C3
inactive_tab_background #1C1B19
inactive_tab_font_style normal
#: Tab bar colors and styles
@ -834,10 +834,12 @@ map kitty_mod+y new_window mutt
#: map ctrl+enter new_window @ some_program
# We cannot use this as Ctrl+] is use for tag jump in vim
# map ctrl+] next_window
# map ctrl+[ previous_window
map ctrl+t new_window
map ctrl+w close_window
map ctrl+] next_window
map ctrl+[ previous_window
map ctrl+` move_window_to_top
map kitty_mod+f move_window_forward
map kitty_mod+b move_window_backward