pit-ray / win-vind

You can operate Windows with key bindings like Vim.
https://pit-ray.github.io/win-vind/
MIT License
1.91k stars 45 forks source link

[Bug] _Hard_to_read_parse_error #268

Open kbilsted opened 2 months ago

kbilsted commented 2 months ago

About Bug

When writing simple letters within <> the parser error is really hard to comprehend.

Steps to reproduce

  1. the mapping in the config file
nmap <T> <Ctrl-Shift-A>

gives the error

[Error] invalid unordered_map<K, T> key (int __cdecl WinMain(struct HINSTANCE__ *,struct HINSTANCE__ *,char *,int))
==========

here the problem is that <T> should have been T

Environments

Environments Delete the example and fill in your information.
Windows Edition [e.g. 10 Home, 10 Pro, 10 Enterprise, 11 Home]
Windows Version [e.g. 1909, 20H2]
Windows Build [e.g. 19042.804]
Architecture [e.g. 64bit/32bit]
win-vind Version [e.g. 4.0.0]
win-vind Install Type [zip/installer/chocolatey/winget]