简体   繁体   English

如何在文档中阅读vim的关键含义

[英]How to read vim's key meaning in document

I'm trying to understand the following vim help.(:help Voom) 我试图了解以下vim帮助。(:help Voom)

<C-Up>, <C-Down> move node or a range of sibling nodes Up/Down.
<C-Left>, <C-Right> move nodes Left/Right (promote/demote).
(If the above CTRL mappings are not recognized by your Vim, you can also move
nodes Up/Down/Left/Right with <LocalLeader>u/d/l/r .)

The C-Up may means Ctrl-Up. C-Up可能意味着Ctrl-Up。 But it can NOT work. 但这是行不通的。 (I don't know why). (我不知道为什么)。 But, what's the means? 但是,这意味着什么? It means <localLeader>+u will get the same result as C-UP. 这意味着<localLeader>+u将获得与C-UP相同的结果。 I don't know what's the key of <LocalLeader> 我不知道<LocalLeader>的关键是什么

默认情况下,localleader映射到\\ (反斜杠)

您应该:help <LocalLeader> ,但是: <LocalLeader>是已将maplocalleader变量设置为的键,如果未设置,则反斜杠。

The <c-xx> combinations do all refer to <ctrl-xx> keys. <c-xx>组合都确实引用了<ctrl-xx>键。 But those keys are not mapped properly by most terminals. 但是,大多数终端无法正确映射这些键。 So you can use those combinations in gvim, but not in terminal vim. 因此,您可以在gvim中使用这些组合,但不能在终端vim中使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM