Answers:
抱歉,我的回答很简短,但是
只需输入 50%
*N%*
{count}% Go to {count} percentage in the file, on the first
non-blank in the line |linewise|. To compute the new
line number this formula is used:
({count} * number-of-lines + 99) / 100
See also 'startofline' option. {not in Vi}
:
访问命令模式。
有[count]%
用于绝对导航的命令(多么直观!)。对于相对导航,您必须自己计算金额。例如向下滚动33%:
:exe 'normal!' 33 * line('$') / 100 . 'j'
(您可能想创建v:count
用于这些的映射。)
:h N%