Go to n-th symbol in line

后端 未结 3 2012
栀梦
栀梦 2021-01-30 08:10

How to move cursor to the n-th symbol from the left in Vim?

One of the solutions I see is press 0n, it will move to the n+1 position. Is

3条回答
  •  死守一世寂寞
    2021-01-30 08:52

    The pipe '|' character may be what you want:

    To go to 25th column in a line in normal mode press 25|

    To go to 37th column in a line in normal mode press 37|

    and so on. . .

提交回复
热议问题