From 1d390b22ae5571c6590eda1860dab9ef516cf545 Mon Sep 17 00:00:00 2001 From: thek4n Date: Wed, 10 Apr 2024 13:26:08 +0300 Subject: [PATCH] fix(zsh):O selection colors --- home/user/.config/alacritty/alacritty.toml | 7 ++++++- home/user/.config/zsh/options | 3 +++ home/user/.config/zsh/other | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/home/user/.config/alacritty/alacritty.toml b/home/user/.config/alacritty/alacritty.toml index 9c5caab..a642c6a 100644 --- a/home/user/.config/alacritty/alacritty.toml +++ b/home/user/.config/alacritty/alacritty.toml @@ -15,11 +15,16 @@ action = "SpawnNewInstance" key = "Return" mods = "Control|Shift" +[[keyboard.bindings]] +action = "None" +key = "Space" +mods = "Control|Shift" + [mouse] hide_when_typing = true [scrolling] -history = 100000 +history = 10000 multiplier = 3 [window] diff --git a/home/user/.config/zsh/options b/home/user/.config/zsh/options index 7830423..cfc2c93 100644 --- a/home/user/.config/zsh/options +++ b/home/user/.config/zsh/options @@ -72,6 +72,9 @@ bindkey -M viins "^H" backward-delete-char bindkey -M viins "^?" backward-delete-char +zle_highlight=('paste:bg=20,fg=15', 'region:bg=20,fg=15') # colors of visual select + + insert-sudo() { local sudo_template="${SUDO:=sudo} " local template_len="${#sudo_template}" diff --git a/home/user/.config/zsh/other b/home/user/.config/zsh/other index 43ba5a1..19d91d5 100644 --- a/home/user/.config/zsh/other +++ b/home/user/.config/zsh/other @@ -29,4 +29,4 @@ if [ -n "$(command -v pyenv >/dev/null)" ]; then export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" -fi +fi \ No newline at end of file