开发者

How can I move a few lines 10 or 15 columns to the right in Vim?

开发者 https://www.devze.com 2022-12-10 01:44 出处:网络
I am using mvim and I use 10 << to move开发者_如何学编程 10 lines to 2 columns left. However there are times when I want to move 10 lines to 7 columns left. Is there a better way to do that?One

I am using mvim and I use 10 << to move开发者_如何学编程 10 lines to 2 columns left. However there are times when I want to move 10 lines to 7 columns left. Is there a better way to do that?


One way would be to select the lines visually, i.e., V then 9j, and then type 7<.


This one starts on the following line :.,+10<<7.

See :help <<

0

精彩评论

暂无评论...
验证码 换一张
取 消