Relative Content

Tag Archive for vimneovim

Get an exact copy of the buffer as it appears in the window

For a plugin I’m developing, I want to show a floating window somewhere within the buffer view, but want to work out exactly which rows and columns in the window are already taken up by content in the buffer so that I can place the floating window in a location where it does not obscure the code.