From 6f224c3e07bbd993cf9be13ad1f4c5fafa1846a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Okuyama?= Date: Mon, 17 Jul 2023 14:00:35 -0300 Subject: [PATCH 1/2] add support for foot terminal --- zsh-vi-mode.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh-vi-mode.zsh b/zsh-vi-mode.zsh index bcad852..d035769 100644 --- a/zsh-vi-mode.zsh +++ b/zsh-vi-mode.zsh @@ -3135,9 +3135,9 @@ function zvm_cursor_style() { case $term in # For xterm and rxvt and their derivatives use the same escape # sequences as the VT520 terminal. And screen, konsole, alacritty - # and st implement a superset of VT100 and VT100, they support + # st and foot implement a superset of VT100 and VT100, they support # 256 colors the same way xterm does. - xterm*|rxvt*|screen*|tmux*|konsole*|alacritty*|st*) + xterm*|rxvt*|screen*|tmux*|konsole*|alacritty*|st*|foot*) case $style in $ZVM_CURSOR_BLOCK) style='\e[2 q';; $ZVM_CURSOR_UNDERLINE) style='\e[4 q';; From 8bafaefbe12d14bdc60310b29c2969a46089a9c7 Mon Sep 17 00:00:00 2001 From: JT Date: Tue, 18 Jul 2023 10:04:31 +0800 Subject: [PATCH 2/2] Update zsh-vi-mode.zsh --- zsh-vi-mode.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-vi-mode.zsh b/zsh-vi-mode.zsh index d035769..885698b 100644 --- a/zsh-vi-mode.zsh +++ b/zsh-vi-mode.zsh @@ -3134,7 +3134,7 @@ function zvm_cursor_style() { case $term in # For xterm and rxvt and their derivatives use the same escape - # sequences as the VT520 terminal. And screen, konsole, alacritty + # sequences as the VT520 terminal. And screen, konsole, alacritty, # st and foot implement a superset of VT100 and VT100, they support # 256 colors the same way xterm does. xterm*|rxvt*|screen*|tmux*|konsole*|alacritty*|st*|foot*)