1
0

Initial commit

This commit is contained in:
Mark
2021-04-24 17:30:03 -07:00
commit 7ed13932d3
18 changed files with 1766 additions and 0 deletions

20
kitty/README.md Normal file
View File

@ -0,0 +1,20 @@
**Kitty terminal configuration**
These files go in `~/.config/kitty`.
If sudo doesn't want to handle control chars:
Put `{ Defaults env_keep += "TERM TERMINFO" }` in visudo
`export TERMINFO=/home/mark/.terminfo`
If SSH doesn't want to handle control chars:
`kitty +kitten ssh <SERVER>`

51
kitty/colors.conf Normal file
View File

@ -0,0 +1,51 @@
background #1D1F21
foreground #F8F8F2
cursor #F8F8F2
# Black
color0 #282828
color8 #555555
# Red
color1 #FF6600
color9 #FFAA00
# Green
color2 #B4EC85
color10 #A8FF60
# Yellow
color3 #FFFFB6
color11 #F1FF52
# Blue
color4 #0087AF
color12 #87DFFF
# Magenta
color5 #BD99FF
color13 #985EFF
# Cyan
color6 #87DFEB
color14 #24D1E7
# White
color7 #F8F8F2
color15 #D0D0D0
selection_foreground #F1FF52
selection_background #383838
active_border_color #3D4C5D
inactive_border_color #282828
url_color #6498EF
active_tab_foreground #F8F8F2
active_tab_background #24D1E7
inactive_tab_foreground #F8F8F2
inactive_tab_background #3D4C5F

10
kitty/fonts.conf Normal file
View File

@ -0,0 +1,10 @@
# Fonts
font_family MesloLGS Nerd Font Mono
italic_font MesloLGS Nerd Font Mono
bold_font MesloLGS Nerd Font Mono
bold_italic_font MesloLGS Nerd Font Mono
font_size 12.0
adjust_line_height 0
adjust_column_width 0
box_drawing_scale 0.001, 1, 1.5, 2

47
kitty/keys.conf Normal file
View File

@ -0,0 +1,47 @@
map ctrl+shift+v paste_from_clipboard
map ctrl+shift+s paste_from_selection
map ctrl+shift+c copy_to_clipboard
map shift+insert paste_from_selection
map ctrl+shift+up scroll_line_up
map ctrl+shift+down scroll_line_down
map ctrl+shift+k scroll_line_up
map ctrl+shift+j scroll_line_down
map ctrl+shift+page_up scroll_page_up
map ctrl+shift+page_down scroll_page_down
map ctrl+shift+home scroll_home
map ctrl+shift+end scroll_end
map ctrl+shift+h show_scrollback
map ctrl+shift+enter new_window
map ctrl+shift+n new_os_window
map ctrl+shift+w close_window
map ctrl+shift+] next_window
map ctrl+shift+[ previous_window
map ctrl+shift+f move_window_forward
map ctrl+shift+b move_window_backward
map ctrl+shift+` move_window_to_top
map ctrl+shift+1 first_window
map ctrl+shift+2 second_window
map ctrl+shift+3 third_window
map ctrl+shift+4 fourth_window
map ctrl+shift+5 fifth_window
map ctrl+shift+6 sixth_window
map ctrl+shift+7 seventh_window
map ctrl+shift+8 eighth_window
map ctrl+shift+9 ninth_window
map ctrl+shift+0 tenth_window
map ctrl+shift+right next_tab
map ctrl+shift+left previous_tab
map ctrl+shift+t new_tab
map ctrl+shift+q close_tab
map ctrl+shift+l next_layout
map ctrl+shift+. move_tab_forward
map ctrl+shift+, move_tab_backward
map ctrl+shift+alt+t set_tab_title
map ctrl+shift+equal increase_font_size
map ctrl+shift+minus decrease_font_size
map ctrl+shift+backspace restore_font_size
map ctrl+shift+f6 set_font_size 16.0

68
kitty/kitty.conf Normal file
View File

@ -0,0 +1,68 @@
include colors.conf
include fonts.conf
include keys.conf
# Cursor
cursor_shape block
cursor_blink_interval -1
cursor_stop_blinking_after 15.0
# Scrollback
scrollback_lines 10000
scrollback_pager /usr/bin/less
wheel_scroll_multiplier 5.0
# URLs
url_style double
open_url_modifier ctrl+shift
open_url_with default
copy_on_select yes
# Selection
rectangle_select_modifiers ctrl+shift
select_by_word_characters :@-./_~?&=%+#
# Mouse
click_interval 0.5
mouse_hide_wait 0
focus_follows_mouse no
# Performance
repaint_delay 20
input_delay 2
sync_to_monitor no
# Bell
visual_bell_duration 0.0
enable_audio_bell no
bell_on_tab no
# Window
remember_window_size no
initial_window_width 1000
initial_window_height 500
window_border_width 0
window_margin_width 8
window_padding_width 8
inactive_text_alpha 1.0
background_opacity 0.7
placement_strategy center
hide_window_decorations yes
# Layouts
enabled_layouts splits,tall
# Tabs
tab_bar_edge bottom
tab_bar_style powerline
tab_bar_margin_width 0.0
tab_separator " ┇ "
active_tab_font_style bold
inactive_tab_font_style normal
# Shell
#shell fish
close_on_child_death yes
allow_remote_control yes
term xterm-kitty