在Sublime Text 3中向上/向下翻页时,如何更改文本移动的速度? [英] How do I change the speed of text motion when paging up/down in Sublime Text 3?
本文介绍了在Sublime Text 3中向上/向下翻页时,如何更改文本移动的速度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在Sublime Text 3中编辑文件时,如果按Page Down,则文本会向下滑动到下一页。如何更改速度(或根本不让它滚动)?
When I'm editing a file in Sublime Text 3, if I press Page Down, the text slides down to the next page. How do I change the speed (or not let it scroll at all)?
推荐答案
- 转到首选项->设置-用户
-
添加以下行:
- Go to Preferences->Settings - User
Add the line:
"scroll_speed": 1.0
(注意:这是一个JavaScript文件。如果在最后一行添加上述行,请不要忘记在前一行添加逗号;如果在中间添加行,请添加逗号!)
(Note: this is a JavaScript file. If you add the above line at the end, don't forget to add a comma to the previous line; if you add the line in the middle somewhere, add a comma!)
关于速度(从默认设置开始):
For the speed (From the Default Settings):
// Set to 0 to disable smooth scrolling. Set to a value between 0 and 1 to
// scroll slower, or set to larger than 1 to scroll faster
这篇关于在Sublime Text 3中向上/向下翻页时,如何更改文本移动的速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文