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

Not works well in macro #7

Closed
gukz opened this issue Nov 24, 2021 · 3 comments
Closed

Not works well in macro #7

gukz opened this issue Nov 24, 2021 · 3 comments

Comments

@gukz
Copy link
Owner

gukz commented Nov 24, 2021

if your macro contains ftFT operations, this plugin could cause your macro to behave strangely.

@MenBrial
Copy link

It seems this issue comes from the usage of the 'nvim_feedkeys' function: the mode should be 'ni' to insert the keys immediately in the typeahead buffer. Otherwise, the keys are added after any remaining characters from the current macro/mapping.

See the help for 'feedkeys'.

The lightspeed plugin has a similar issue: ggandor/lightspeed.nvim#7.

@gukz gukz closed this as completed in 6418bae Mar 2, 2022
@gukz
Copy link
Owner Author

gukz commented Mar 2, 2022

Thanks @MenBrial a lot~

@MenBrial
Copy link

MenBrial commented Mar 3, 2022

You're welcome!

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

2 participants