alacritty.toml and vi reports better
This commit is contained in:
parent
b9b5ebe807
commit
133cc4d31c
3 changed files with 125 additions and 3 deletions
122
.config/alacritty/alacritty.toml
Normal file
122
.config/alacritty/alacritty.toml
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
[bell]
|
||||
color = "#ffffff"
|
||||
duration = 200
|
||||
|
||||
[colors]
|
||||
draw_bold_text_with_bright_colors = false
|
||||
|
||||
[colors.bright]
|
||||
black = "#565656"
|
||||
blue = "#49a4f8"
|
||||
cyan = "#99faf2"
|
||||
green = "#c0e17d"
|
||||
magenta = "#a47de9"
|
||||
red = "#ec5357"
|
||||
white = "#ffffff"
|
||||
yellow = "#f9da6a"
|
||||
|
||||
[colors.normal]
|
||||
black = "#2e2e2e"
|
||||
blue = "#47a0f3"
|
||||
cyan = "#64dbed"
|
||||
green = "#abe047"
|
||||
magenta = "#7b5cb0"
|
||||
red = "#eb4129"
|
||||
white = "#e5e9f0"
|
||||
yellow = "#f6c744"
|
||||
|
||||
[colors.primary]
|
||||
background = "#000000"
|
||||
foreground = "#fffbf6"
|
||||
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
[font]
|
||||
size = 20.0
|
||||
|
||||
[font.bold]
|
||||
style = "Regular"
|
||||
|
||||
[font.bold_italic]
|
||||
style = "Oblique"
|
||||
|
||||
[font.italic]
|
||||
style = "Light Oblique"
|
||||
|
||||
[font.normal]
|
||||
family = "Iosevka Berkeley"
|
||||
style = "Light"
|
||||
|
||||
[hints]
|
||||
alphabet = "jfkdls;ahgurieowpq"
|
||||
|
||||
[[hints.enabled]]
|
||||
action = "Copy"
|
||||
regex = "[a-f0-9]{7,}"
|
||||
|
||||
[hints.enabled.binding]
|
||||
key = "H"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[hints.enabled]]
|
||||
action = "Copy"
|
||||
regex = "(magnet:|mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-<>\"\\s{-}\\^⟨⟩`]+"
|
||||
|
||||
[hints.enabled.binding]
|
||||
key = "U"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[hints.enabled]]
|
||||
command = "xdg-open"
|
||||
post_processing = true
|
||||
regex = "(magnet:|mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-<>\"\\s{-}\\^⟨⟩`]+"
|
||||
|
||||
[hints.enabled.binding]
|
||||
key = "L"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[hints.enabled.mouse]
|
||||
enabled = true
|
||||
mods = "None"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleViMode"
|
||||
key = "Q"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Paste"
|
||||
key = "P"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleFullscreen"
|
||||
key = "Return"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleFullscreen"
|
||||
key = "Return"
|
||||
mods = "Command"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B."
|
||||
key = "Period"
|
||||
mods = "Command"
|
||||
|
||||
[scrolling]
|
||||
history = 10000
|
||||
multiplier = 3
|
||||
|
||||
[window]
|
||||
opacity = 0.88
|
||||
startup_mode = "Windowed"
|
||||
|
||||
[window.dimensions]
|
||||
columns = 106
|
||||
lines = 24
|
||||
|
||||
[window.padding]
|
||||
x = 3
|
||||
y = 3
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
set PATH ~/bin ~/.local/bin ~/.go/bin ~/.cargo/bin /bin /sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin ~/.cabal/bin ~/.ghcup/bin /usr/lib/go/bin ~/.gem/ruby/1.9.1/bin $PATH
|
||||
set PATH ~/bin ~/.local/bin ~/.go/bin ~/.cargo/bin /bin /sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin ~/.cabal/bin ~/.ghcup/bin /usr/lib/go/bin ~/.gem/ruby/1.9.1/bin ~/.rye/shims $PATH
|
||||
|
||||
if command -vq flatpak
|
||||
set -ga fish_user_paths ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin
|
||||
|
|
|
|||
4
bin/vi
4
bin/vi
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
export TERM=xterm-256color
|
||||
if [ -n "`which nvim`" ]; then
|
||||
nvim "$@"
|
||||
exec -a nvim nvim "$@"
|
||||
else
|
||||
vim "$@"
|
||||
exec -a vim vim "$@"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue