> > I am testing this  if  getpos("'a")[2] != 0 to know if mark a is
> > already present but it fails.
>

Hum I have the following code in order to mark a or process my
calculate.

myfunc

if  getpos("'a")[2] == 0
    mark a
else
    process calculate
endif

endfunc


The problem is that I open a........

....no in fact no pb because I had put 'a,.call myfunc so my mark a
was always here.

Thank you Isreal

-- 
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

Reply via email to