See getcurpos() exists

http://ftp.vim.org/vim/patches/7.4/7.4.313