Skip to main content
edited title
Link
Vivian De Smedt
  • 21.1k
  • 5
  • 22
  • 40

Get the position of a split window inside of vimVim

edited tags
Link
Vivian De Smedt
  • 21.1k
  • 5
  • 22
  • 40
Bumped by Community user
Source Link

Get the position of a split window inside of vim

Is there any way to get the position of the top left corner of a split window relative to the entire vim window? For example, if there was only one window, and the tabline was inactive, the position would be 1,1. But, if the tabline was active, and there was another split window that was 10 characters wide to the left of the current window, the position would be 11,2. Is there any way to figure this out?