如何一遍又一遍地跳下 X 行 [英] How to jump down X amount of lines, over and over

查看:21
本文介绍了如何一遍又一遍地跳下 X 行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 10j 跳下 10 行,但我想轻松地一遍又一遍地跳 10 行.我不想用宏 qv10jq@v@@..

I'm using 10j to jump down 10 lines, but I want to easily jump 10 lines over and over. I don't want to have to perform the jump with a macro qv10jq@v@@..

我希望有一种重复向下键的方法,比如motion has f then ;连续跳转(,返回)到下一个字符.

I wish there was a method for repeating down keys like motion has f then ; to continually jump (, to go back) to the next character(s).

有什么比我的宏更短的吗?

is there anything shorter than my macro?

推荐答案

这里是 一个插件来做你想做的事.它映射 ; 以重复给定的最后一个带有计数的运动命令.

Here's a plugin to do what you want. It maps ; to repeat the last motion command given with a count.

这篇关于如何一遍又一遍地跳下 X 行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆