Open KeqiZeng opened 2 years ago
Does this only happen with a specific command line or with any command line? If it's specific, please post
for me it's always happening after :wq
, :qa
, :q!
, I always get this messy code.
Using Fedora 37, with Wezterm
This also happens to me even if I only enter vv
then exit :q
without editing anything, so it's unrelated to any command line.
I tried it with both vanilla vim
and a configured nvim
with similar results. I also tried Console and Black Box. Using Arch.
General information
Terminal program: iTerm2 (3.4.12) Operating system: M1 MacOS Monterey 12.2 ZSH framework: none ZSH version: zsh 5.8 (arm-apple-darwin20.2.0) ZVM version: latest
Basic examination
Problem description
After editing a command in vim/nvim by stroking
vv
in Normal mode, and:wq
back to zsh, I get messy code instead of correct command. Just like:I also test in alacritty, same issue. And I think there is no config about zsh-vi-mode in my zshrc except
Reproduction steps
vv
to edit a command in $EDITOR:wq
or other way to come back to zshExpected behavior
Get the correct command instead messy code.