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 work well for window redraw, eg "zz" #27

Open
Commiter16 opened this issue Mar 18, 2023 · 1 comment
Open

Not work well for window redraw, eg "zz" #27

Commiter16 opened this issue Mar 18, 2023 · 1 comment

Comments

@Commiter16
Copy link

I remap J as 10jzz to move fastly and always keep the cursor line at the center of current window. The plugin will think i'm going to 10 lines below current line, then zz redraws window, plugin highlight wrong line. I try to setting popup.delay_ms, but it still highlight the 10th line below cursor line.

@dm9pZCAq
Copy link

i have similar issue with:

local keys = {"<C-d>", "<C-u>", "n", "N", "''"}
for _, key in ipairs(keys) do
  map('n', key, (key .. "zz"))
end

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