fix(zsh):O selection colors

This commit is contained in:
thek4n 2024-04-10 13:26:08 +03:00
parent 3d42d8e975
commit 1d390b22ae
3 changed files with 10 additions and 2 deletions

View File

@ -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]

View File

@ -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}"