search

Home  >  Q&A  >  body text

How to shrink multiple lines in vim, in V mode > shrinking is too big

As the title shows, this is the tightening effect, it feels a bit big

阿神阿神2743 days ago608

reply all(2)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-16 16:42:16

    vim ~/.vimrc
    set shiftwidth=4 //Automatically indent to 4 characters
    set expandtab //space replaces tab

    reply
    0
  • 迷茫

    迷茫2017-05-16 16:42:16

    You can do it without using V mode. For example, if you want to indent the 10 lines under the cursor (including the line where the cursor is), enter on the keyboard

    10>>
    

    reply
    0
  • Cancelreply