qianchenglong
qianchenglong

Reputation: 484

What does `&` mean in vim map

In some map, I found an difference by :imap.

Some maps begin *, whether some maps begin &.

What is the meaning?

Upvotes: 0

Views: 202

Answers (1)

hobbs
hobbs

Reputation: 239672

From :help map-listing:

Just before the {rhs} a special character can appear:
    *       indicates that it is not remappable
    &       indicates that only script-local mappings are remappable
    @       indicates a buffer-local mapping

Upvotes: 2

Related Questions