1# Tests of the vi mode of ZLE
2
3%prep
4  if ( zmodload -i zsh/zpty ) >/dev/null 2>&1; then
5    . $ZTST_srcdir/comptest
6    comptestinit -v -z $ZTST_testdir/../Src/zsh
7  else
8    ZTST_unimplemented="the zsh/zpty module is not available"
9  fi
10
11%test
12
13  zletest $'one two\ebmt3|`tx``'
140:setting mark and returning to original position
15>BUFFER: one wo
16>CURSOR: 2
17
18%clean
19
20  zmodload -ui zsh/zpty
21