📜  如何在 vim 中更改热键 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:31.510000             🧑  作者: Mango

代码示例1
I suggest you type:

:help map.txt

inside vim, you'll find all the explanation to understand how to do it.

You can't use the same shortcut for 'zencoding' plugin and for an omnicomplete function; anyway you could add to your .vimrc:

imap  

But I suggest not to use 'C-j' as 'j' is always related to movement in vim; use 'leader' (:help leader) which is targeted to user shortcuts, instead.