8 changed files with 187 additions and 50 deletions
@ -0,0 +1,97 @@
|
||||
env: |
||||
TERM: alacritty |
||||
|
||||
window: |
||||
dimensions: |
||||
columns: 0 |
||||
lines: 0 |
||||
padding: |
||||
x: 0 |
||||
y: 0 |
||||
dynamic_padding: true |
||||
decorations: none |
||||
startup_mode: Windowed |
||||
title: alacritty |
||||
dynamic_title: true |
||||
class: |
||||
instance: alacritty |
||||
general: alacritty |
||||
|
||||
scrolling: |
||||
history: 16384 |
||||
|
||||
hints: |
||||
alphabet: "fjdksl" |
||||
enabled: |
||||
- regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ |
||||
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" |
||||
action: Copy |
||||
post_processing: true |
||||
mouse: |
||||
enabled: true |
||||
mods: None |
||||
binding: |
||||
key: U |
||||
mods: Alt |
||||
|
||||
cursor: |
||||
style: |
||||
shape: Block |
||||
blinking: On |
||||
blink_interval: 500 |
||||
unfocused_hollow: true |
||||
|
||||
draw_bold_text_with_bright_colors: true |
||||
|
||||
key_bindings: |
||||
- { key: L, mods: Control, action: ClearLogNotice } |
||||
- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } |
||||
|
||||
- { key: Escape, mods: Alt, mode: ~Search, action: ToggleViMode } |
||||
- { key: Escape, mode: Vi|~Search, action: ToggleViMode } |
||||
- { key: G, mode: Vi|~Search, action: ScrollToTop } |
||||
- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom } |
||||
- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp } |
||||
- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } |
||||
- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } |
||||
- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } |
||||
- { key: Y, mode: Vi|~Search, action: Copy } |
||||
- { key: Y, mode: Vi|~Search, action: ClearSelection } |
||||
- { key: V, mode: Vi|~Search, action: ToggleNormalSelection } |
||||
- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection } |
||||
- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } |
||||
- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } |
||||
- { key: K, mode: Vi|~Search, action: Up } |
||||
- { key: J, mode: Vi|~Search, action: Down } |
||||
- { key: H, mode: Vi|~Search, action: Left } |
||||
- { key: L, mode: Vi|~Search, action: Right } |
||||
- { key: Key0, mode: Vi|~Search, action: First } |
||||
- { key: 5, mods: Shift, mode: Vi|~Search, action: Last } |
||||
- { key: 7, mods: Shift, mode: Vi|~Search, action: FirstOccupied } |
||||
- { key: H, mods: Shift, mode: Vi|~Search, action: High } |
||||
- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } |
||||
- { key: L, mods: Shift, mode: Vi|~Search, action: Low } |
||||
- { key: B, mode: Vi|~Search, action: SemanticLeft } |
||||
- { key: W, mode: Vi|~Search, action: SemanticRight } |
||||
- { key: E, mode: Vi|~Search, action: SemanticRightEnd } |
||||
- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft } |
||||
- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight } |
||||
- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd } |
||||
- { key: 6, mods: Shift, mode: Vi|~Search, action: Bracket } |
||||
- { key: Slash, mode: Vi|~Search, action: SearchForward } |
||||
- { key: N, mode: Vi|~Search, action: SearchNext } |
||||
- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious } |
||||
|
||||
- { key: Return, mode: Search|Vi, action: SearchConfirm } |
||||
- { key: Escape, mode: Search, action: SearchCancel } |
||||
- { key: C, mods: Control, mode: Search, action: SearchCancel } |
||||
- { key: U, mods: Control, mode: Search, action: SearchClear } |
||||
- { key: W, mods: Control, mode: Search, action: SearchDeleteWord } |
||||
- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious } |
||||
- { key: N, mods: Control, mode: Search, action: SearchHistoryNext } |
||||
- { key: Up, mode: Search, action: SearchHistoryPrevious } |
||||
- { key: Down, mode: Search, action: SearchHistoryNext } |
||||
|
||||
- { key: V, mods: Alt, mode: ~Vi, action: Paste } |
||||
- { key: Slash, mods: Alt, mode: ~Search, action: SearchForward } |
||||
- { key: Slash, mods: Alt|Shift, mode: ~Search, action: SearchBackward } |
@ -0,0 +1,56 @@
|
||||
echo "\ |
||||
import: |
||||
- $HOME/.config/alacritty/main.yml |
||||
|
||||
font: |
||||
normal: |
||||
family: $mfont |
||||
style: Regular |
||||
size: $mfont_size |
||||
|
||||
colors: |
||||
primary: |
||||
background: '$bg_normal' |
||||
foreground: '$fg_normal' |
||||
bright_foreground: '$fg_focus' |
||||
|
||||
search: |
||||
matches: |
||||
foreground: '$fg_focus' |
||||
background: '$bg_focus' |
||||
focused_match: |
||||
foreground: '$fg_urgent' |
||||
background: '$bg_urgent' |
||||
|
||||
bar: |
||||
foreground: '$fg_normal' |
||||
background: '$bg_normal' |
||||
|
||||
hints: |
||||
start: |
||||
foreground: '$fg_urgent' |
||||
background: '$bg_urgent' |
||||
end: |
||||
foreground: '$fg_focus' |
||||
background: '$bg_focus' |
||||
|
||||
normal: |
||||
black: '$std_black' |
||||
red: '$std_red' |
||||
green: '$std_green' |
||||
yellow: '$std_yellow' |
||||
blue: '$std_blue' |
||||
magenta: '$std_magenta' |
||||
cyan: '$std_cyan' |
||||
white: '$std_white' |
||||
|
||||
bright: |
||||
black: '$light_black' |
||||
red: '$light_red' |
||||
green: '$light_green' |
||||
yellow: '$light_yellow' |
||||
blue: '$light_blue' |
||||
magenta: '$light_magenta' |
||||
cyan: '$light_cyan' |
||||
white: '$light_white' |
||||
" > $tmpdir/alacritty.yml |
@ -1,26 +0,0 @@
|
||||
typeset -g -A key |
||||
|
||||
key[F1]='^[[11~' |
||||
key[F2]='^[[12~' |
||||
key[F3]='^[[13~' |
||||
key[F4]='^[[14~' |
||||
key[F5]='^[[15~' |
||||
key[F6]='^[[17~' |
||||
key[F7]='^[[18~' |
||||
key[F8]='^[[19~' |
||||
key[F9]='^[[20~' |
||||
key[F10]='^[[21~' |
||||
key[F11]='^[[23~' |
||||
key[F12]='^[[24~' |
||||
key[Backspace]='^?' |
||||
key[Insert]='^[[2~' |
||||
key[Home]='^[[7~' |
||||
key[PageUp]='^[[5~' |
||||
key[Delete]='^[[3~' |
||||
key[End]='^[[8~' |
||||
key[PageDown]='^[[6~' |
||||
key[Up]='^[[A' |
||||
key[Left]='^[[D' |
||||
key[Down]='^[[B' |
||||
key[Right]='^[[C' |
||||
key[Menu]='''' |
Loading…
Reference in new issue