1
0
Fork 0

Replaced kitty with alacritty

master
Mark 2024-04-11 20:25:01 -07:00
parent 169bca348f
commit d5b1c4b6b1
6 changed files with 44 additions and 144 deletions

44
alacritty/alacritty.toml Normal file
View File

@ -0,0 +1,44 @@
[scrolling]
history = 100000
[font]
size = 16
normal = { family = "FantasqueSansM Nerd Font Mono", style = "Regular" }
[window]
padding = { x = 20, y = 20 }
[colors.primary]
foreground = "#d8d8d8"
background = "#181818"
dim_foreground = "#828482"
[colors.normal]
black = "#181818"
red = "#ac4242"
green = "#90a959"
yellow = "#f4bf75"
blue = "#6a9fb5"
magenta = "#aa759f"
cyan = "#75b5aa"
white = "#d8d8d8"
[colors.bright]
black = "#6b6b6b"
red = "#c55555"
green = "#aac474"
yellow = "#feca88"
blue = "#82b8c8"
magenta = "#c28cb8"
cyan = "#93d3c3"
white = "#f8f8f8"
[colors.dim]
black = "#0f0f0f"
red = "#712b2b"
green = "#5f6f3a"
yellow = "#a17e4d"
blue = "#456877"
magenta = "#704d68"
cyan = "#4d7770"
white = "#8e8e8e"

View File

@ -1,7 +0,0 @@
[*]
indent_style = tab
indent_size = 8
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

View File

@ -1,11 +0,0 @@
# Kitty terminal tricks
## If sudo doesn't want to handle control chars:
Put `{ Defaults env_keep += "TERM TERMINFO" }` in visudo
## If SSH doesn't want to handle control chars:
Run `kitty +kitten ssh <SERVER>`

View File

@ -1,12 +0,0 @@
# Fonts
font_family FantasqueSansMono NF
italic_font FantasqueSansMono NF
bold_font FantasqueSansMono NF
bold_italic_font FantasqueSansMono NF
font_size 14
adjust_line_height 0
adjust_column_width 0
box_drawing_scale 0.001, 1, 1.5, 2

View File

@ -1,47 +0,0 @@
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

View File

@ -1,67 +0,0 @@
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 1.0
placement_strategy center
hide_window_decorations no
# 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