vim: delete the first 2 spaces for multiple lines

前端 未结 7 1552
无人及你
无人及你 2020-12-22 18:36

What\'s the easiest way to delete the first 2 spaces for each line using VIM? Basically it\'s repeating \"2x\" for each line.

Clarification: here the assumption is t

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-22 19:10

    Assuming a shiftwidth=2, then using shift with a range of %

    :%<
    

提交回复
热议问题