With the newly released Windows 10 update 2004, we can run native Windows Subsystem for Linux (WSL) 2 and install Ubuntu 20.04 on it. Then we can run native bash inside the latest Windows Terminal. However, when I run vim in it, I have trouble with vim's visual block selection: :
- In this environment, both
<c-v>
and<c-V>
are used for Windows Copy; - Since this vim is running in a "pure" linux environment, it has nothing to do with mswin.vim;
- I tried
<c-q>
and it doesn't work;
What's the most organic solution for resolving this issue? Is mapping a different key, like <c-q>
acting as visual block selection the only one?
Thanks!
<C-v>
and<C-V>
are probably the same if the environment faithfully replicates terminal handling; the two are indistinguishable as key0x16
.) What happens when you press<C-q>
? If you haven't disabled control flow, it may not get to vim to start visual-block mode (:help CTRL-V-alternative
)