iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.67k stars 277 forks source link

Question about synchronization of scrolling from browser to neovim #574

Open Qwerty-Hello-World opened 1 year ago

Qwerty-Hello-World commented 1 year ago

Question about Neovim Responding to Scrolling Event in Browser

Thanks for making this great plugin! Currently, I can see that when I scroll my cursor in the Neovim side, my Firefox browser would respond according to the scroll event in Neovim. That is excellent. But I'm wondering whether Neovim can adjust its cursor position when I scroll the webpage in browser? I just switched from writing Markdown in VSCode to Neovim. In VSCode, when you scroll in the preview panel, the cursor in the editor would also change its position; when you double click somewhere in the preview panel, the cursor in the editor would directly jump to the clicked word. Does your plugin also support such feature? Thanks a lot!

Some additional information about my system

OS: Windows 10 Pro 21H2, with build 19044.2846

Neovim: v0.9.0-dev-820+ga0a112515

Neovide: 0.10.3

Browser: Firefox 112.0.2 (64-bit) (in private window)