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

action fails in multiple lines #42

Open
nmxiao opened this issue Sep 16, 2020 · 3 comments
Open

action fails in multiple lines #42

nmxiao opened this issue Sep 16, 2020 · 3 comments

Comments

@nmxiao
Copy link

nmxiao commented Sep 16, 2020

I set the menu for comment the line using the caw plugin.
the menu is writen as ["&Comment", 'call feedkeys("gcc")']
this works well for the single line. but when I select multiple lines during the visual mode, it cannot comment the selected lines but the first line.

I has mapped the key to trigger the menu
xnoremap :call quickui#menu#open()

@skywind3000
Copy link
Owner

#32

自己看

@nmxiao
Copy link
Author

nmxiao commented Sep 17, 2020

the setting "xnoremap :call quickui#menu#open()" cannot solve the problem.

@Freed-Wu
Copy link
Contributor

xnoremap <Space> :<C-u>call quickui#menu#open()<CR>

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