evil-leader icon indicating copy to clipboard operation
evil-leader copied to clipboard

Unexpected behavior for non-prefix key

Open yangchenyun opened this issue 9 years ago • 0 comments

Define a key with one char in another prefix key is not allowed. But the expected behavior will be p binds to one and ps binds to another cmd. "p" 'projectile-switch-project "ps" 'smex

This situation could get worse if evil-leader/set-key-for-mode is used. (evil-leader/set-key "p" ) (evil-leader/set-key 'minor-mode "ps" <another_cmd>)

Then the original "p" bindings will be overwritten without warning.

yangchenyun avatar Feb 20 '15 00:02 yangchenyun