我懂了<leader>许多人.vimrc文件,我想知道这是什么意思?

它是干什么用的?

仅对目的和用法的一般概述将是很棒的。

答案

<Leader>钥匙被映射到\ </kbd>默认情况下。因此,如果您有一张地图<Leader>t,您默认可以使用\ </kbd>+t。有关更多详细信息或使用mapleader变量,请参阅

:帮助领导者


To define a mapping which uses the "mapleader" variable, the special string
"<Leader>" can be used.  It is replaced with the string value of "mapleader".
If "mapleader" is not set or empty, a backslash is used instead.  
Example:
    :map <Leader>A  oanother line <Esc>
Works like:
    :map \A  oanother line <Esc>
But after:
    :let mapleader = ","
It works like:
    :map ,A  oanother line <Esc>

Note that the value of "mapleader" is used at the moment the mapping is
defined.  Changing "mapleader" after that has no effect for already defined
mappings.

来自: stackoverflow.com