# HG changeset patch # User Mikael Berthe # Date 1619953275 -7200 # Node ID 06af8cc97cc10d9ef4ad3386bf56558d089b3075 # Parent 604330c024f40853d840009f59ca8000c948a669 Enable Vim mode for rxvt*, xterm*, screen* and tmux* diff -r 604330c024f4 -r 06af8cc97cc1 zshrc.d/20-prompt.zrc --- a/zshrc.d/20-prompt.zrc Sun May 02 12:58:39 2021 +0200 +++ b/zshrc.d/20-prompt.zrc Sun May 02 13:01:15 2021 +0200 @@ -2,11 +2,10 @@ # Enable my Vim-like mode for supported terms -if [[ "$TERM" == "rxvt" || - "$TERM" == "rxvt-256color" || - "$TERM" == "rxvt-unicode" || - "$TERM" == "rxvt-unicode-256color" || - "$TERM" == "xterm-256color" ]] +if [[ "$TERM" == rxvt* || + "$TERM" == xterm* || + "$TERM" == screen* || + "$TERM" == tmux* ]] then export SHOWMODE="on" fi