Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not use Capital character to be hotkey #24

Open
Freed-Wu opened this issue Apr 4, 2020 · 4 comments
Open

can not use Capital character to be hotkey #24

Freed-Wu opened this issue Apr 4, 2020 · 4 comments

Comments

@Freed-Wu
Copy link
Contributor

Freed-Wu commented Apr 4, 2020

let content = [  [' &A', 'echo 100' ],  [' &2', 'echo 200' ],  [' &3', 'echo 300' ],  [' &4' ],  [' &5', 'echo 500' ], ]
let opts = {'title': 'select one'}
call quickui#listbox#open(content, opts)

press A will not work.

and can user use as hotkeys?

@skywind3000
Copy link
Owner

It is case insensitive.

@Johnleegy
Copy link

我遇到类似问题。当 & 在第一位时热键无效,我在 & 前面加上空格就可以使用热键了。只是 listbox 里发现此问题。虽然与此问题不同,但也不另开 issue 了,毕竟前面加个空格就可以解决。韦大有空看看是不是字符串分割的函数有疑似 bug。

@Freed-Wu
Copy link
Contributor Author

我遇到类似问题。当 & 在第一位时热键无效,我在 & 前面加上空格就可以使用热键了。只是 listbox 里发现此问题。虽然与此问题不同,但也不另开 issue 了,毕竟前面加个空格就可以解决。韦大有空看看是不是字符串分割的函数有疑似 bug。

Is it #23?

@Freed-Wu
Copy link
Contributor Author

Freed-Wu commented May 17, 2020

It is case insensitive.

if it is case insensitive, the upper charater and lower character must have the same result. In fact, only lower charater can work. i dare to think if it can support <S-x>,<C-x>,<M-x> and other special characters, the plugin will be better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants