可以在 vi 上映射 shift + shift 吗?

ato*_*fat 4 vim

我正在尝试使用 shift+shift 配置键映射,这可能吗?

我试过了:

<S-S> But this maps shift + S
<S><S> and this that maps to unknown 
Run Code Online (Sandbox Code Playgroud)

Ing*_*kat 6

您不能单独映射到修饰键(如Ctrl, Shift, Alt);它们只能表示可打印字符的其他键(如<C-a>= Ctrl+ A)结合使用。这主要是因为终端不会单独为修饰键发送按键事件。不幸的是,这些组合甚至有限制(在 GVIM 中也是如此)。某些组合键,例如Ctrl+ 非字母无法映射,并且无法区分Ctrl+ 字母与Ctrl+ Shift+ 字母。