Centering editor when searching #1909
Labels
bug
Something isn't working
category: sync
synchronization between vscode and nvim (text, windows, etc)
manager: viewport
Check the following:
Neovim version (nvim -v)
0.9.5
Operating system/version
Windows 11
Describe the bug
I have this mapping in my init.lua, which is supposed to center the current search result on screen:
vim.keymap.set("n", "n", "nzzzv")
While this work in neovim, it does not work in vscode-neovim.
Running the same command by hand in vscode-neovim (i.e. "n" to move to the next search result and then "zz" to center it on screen) works as expected.
There was a similar issue opened some time back (#767) but it got closed while the issue is still there.
Steps To Reproduce
Expected Behavior
Search results should be centered on screen.
The text was updated successfully, but these errors were encountered: