As title. I want to know the offset regardless of the current buffer. It's not the column number of the current buffer.
2 Answers
I believe the following call gives you the value you are searching:
let col = win_screenpos(winnr())[1]
-
1While this is not what I really want, this is the right answer to my title. (Sorry for my bad English grammar. I was trying to describe the columns between the cursor and the left border of the current window) Still many thanks for your kindness in trying to help. Mar 26 at 8:48