search

Home  >  Q&A  >  body text

How to select the middle block of a text in vim

As shown below

習慣沉默習慣沉默2762 days ago983

reply all(4)I'll reply

  • ringa_lee

    ringa_lee2017-05-27 17:46:20

    1. The cursor moves to the position of the letter u.

    2. Press ctrl-v

    3. Press 3e to move to the position of the letter m.

    4. Press 2j.

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-27 17:46:20

    ctr + v, move the cursor in front of u, then press ctrl + v, then press l,

    ctr + v is block selection, all piece by piece

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-27 17:46:20

    Use ctrl-V to enter the block visual mode (Blockwise visual mode). You can select text within a rectangle. (Note: In Windows, ctrl-V may have been mapped to the paste operation, and ctrl-Q can be used to enter block visualization mode.)

    From cnblog http://www.cnblogs.com/yejinr...

    reply
    0
  • 为情所困

    为情所困2017-05-27 17:46:20

    vim column operations.

    reply
    0
  • Cancelreply