mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-26 18:30:45 +08:00
f29d6a4f0f
KeyMap.bind() does not gracefully handle use of '<>' notation. For example, trying to call NERDTreeAddKeyMap() with a 'key' argument of '<Leader>e'. There were some workarounds KeyMap.bind() to help with this by specifically allowing you to leave off the '<>' parts for '<C-...>', '<M-...>' and mouse mappings and it would add them back for you before creating the mapping. This commit reverts some of that logic and simply says that if the key starts with '<', replace it with <lt>. |
||
---|---|---|
.. | ||
NERD_tree.vim |