getpos()
russell shaw <[email protected]> Sun, 27 Jul 2025 19:55:19 +1000
| Newsgroups | gmane.editors.vim |
|---|---|
| Message-ID | <[email protected]> |
Hi,
vim9script
vmap <F5> :<C-U>echo getpos(".") getpos("v")<CR>
When i select a visual area of text, i get the same coordinate reported for both
getpos(".") and getpos("v"). Why is that ?
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_use/5e3ac1e8-2cb8-4fdb-a6f2-f489b36a3fef%40gmail.com.