Getting the current row number?

后端 未结 6 1460
别跟我提以往
别跟我提以往 2021-01-31 07:15

Is there any key mapping that outputs the current row number of the line being edited? Or, even better yet, can we do formulas based on the output of the key mapping?

I

6条回答
  •  北恋
    北恋 (楼主)
    2021-01-31 08:04

    not really related to original problem, but for me, to see a line number I prefer use :#, it will print out the line number and content as well

提交回复
热议问题