vim – 如何在视觉块模式中选择整列?

我有这个简单的文本在(g)Vim:
a  b  c
a  b  c
a  b  c
a  b  c
a  b  c

更改为可视块选择模式后,如何选择整个第3列? Ctrl V G选择整个文本。我正在寻找一个键盘快捷方式来选择一个整列选择,如果有的话。

谢谢。

G移至最后一行,但如果设置了 startoflinecompatible(启用startofline)选项,则将光标移动到第一个非空白位置。如果你想保持同一列,在进入视觉块模式之前设置nosol,然后点击G.

从startofline的手动输入:

When “on” the commands listed below move the cursor to the first non-blank of the line. When off the cursor is kept in the same column (if possible). This applies to the commands: CTRL-D,CTRL-U,CTRL-B,CTRL-F,“G”,“H”,“M”,“L”,gg,and to the commands “d”,“<<” and “>>” with a linewise operator,with “%” with a count and to buffer changing commands (CTRL-^,:bnext,:bNext,etc.).

相关文章

解决方案:解决linux下vim乱码的情况:(修改vimrc的内容)全...
Linuxvi/vim所有的UnixLike系统都会内建vi文书编辑器,其他的...
      vim正则匹配:空行:/^$/  /^[\t]*$/注释...
$select-editorSelectaneditor.Tochangelater,run'sele...
上次手贱忘了保存,这次就简单做个备忘吧,把踩过的坑记一下...
Linux之文本编译器小结vim的优势所有的UNIX-LIKE习通都会内置...