prepend to visual block not working in vim

后端 未结 3 1427
被撕碎了的回忆
被撕碎了的回忆 2021-01-14 23:25

I\'m really fond of this idea of using Ctrl-V (Ctrl-Q in windows) to modify a visual block. The technique is explained here: In

3条回答
  •  迷失自我
    2021-01-14 23:45

    It may be as simple as not having the right package installed. Visual block mode is not included in vim-minimal which is often the default version of vi. If you do this:

    rpm -qa | grep vim
    

    and you see vim-minimal but not vim-enhanced, then you have to install vim-enhanced. That will get you visual block mode as well as many other additional features.

提交回复
热议问题