How to change vim's default Ctrl-f scroll down shortcut key to Ctrl-d?
仅有的幸福2017-05-16 16:34:40
0
1
564
Because in ordinary editors Ctrl-f is usually the shortcut key for searching, but in vim it is the shortcut key for page downwards, which is very strange.
Default setting, in vim Ctrl f (forward)是向下翻一页, Ctrl b (backward)是向上翻一页, Ctrl d (down) 是向下翻半页, Ctrl u (up) means to turn up half a page.
It is not recommended to use Ctrl. For common operations such as turning pages, I am used to using <Leader> related key positions, such as setting <Leader> to the space bar, <Leader> dturning half a page, which may not be so awkward.
If you are interested in this kind of key setting, you can see more information here.
Default setting, in vim
Ctrl f
(forward)是向下翻一页,Ctrl b
(backward)是向上翻一页,Ctrl d
(down) 是向下翻半页,Ctrl u
(up) means to turn up half a page.It is not recommended to use Ctrl. For common operations such as turning pages, I am used to using <Leader> related key positions, such as setting <Leader> to the space bar,
<Leader> d
turning half a page, which may not be so awkward.If you are interested in this kind of key setting, you can see more information here.