Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ctrl-u in vim-mode. bug.



Oh, sorry, forgot to write the version of zsh and the environment.

Version: zsh 5.8 (x86_64-pc-linux-gnu)
OS: NixOS 21.11 (Porcupine) x86_64
Kernel: 5.14.14
Terminal: tmux (tmux 3.2a), gnome-terminal (GNOME Terminal 3.42.0 using VTE 0.64.2 +BIDI +GNUTLS +ICU +SYSTEMD)

On Sat, Nov 6, 2021 at 10:33 AM Taras Halturin <halturin@xxxxxxxxx> wrote:
Hello, 

It seems I found a bug in zsh with vim-mode enabled. Ctrl-U (clear line to the beginning) doesn't work correctly after switching between "normal" and "insert" modes.
How to reproduce:
1. type a command in zsh
2. press ESC (switches to the "normal mode", which is navigation mode)
3. press 'a' (switches to the insert mode back)
4. try to clean the line with Ctrl-U. 

--
Best Regards.
Taras Halturin


--
Best Regards.
Taras Halturin


Messages sorted by: Reverse Date, Date, Thread, Author