开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜