I know I can go to the first and last visible line of current buffer with H and L respectively. But how I can pass the line numbers to variables ?
let topline = line("w0")
let botline = line("w$")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With