Thursday, January 26, 2012

Re: tracking text

On Jan 26, 1:46 am, sinbad <sinbad.sin...@gmail.com> wrote:
> On Jan 26, 12:33 pm, Paul Isambert <zappathus...@free.fr> wrote:
>
> > sinbad <sinbad.sin...@gmail.com> a écrit:
>
> > Aren't marks good enough? Mark the line containing "jack", and then use
> > the mark, or if you want the line number use line("'x"), where "x" is
> > your mark. Vim will keep track of it better than any hack.
>
> > If marks are unknown to you, try ":help bookmark".
>
> > Best,
> > Paul
>
> marks are limited, the number of locations i want to track will always
> exceed 26, so i had to use getpos(), setpos().
>

You're not really working simultaneously on over 26 different
positions in the same buffer, right? What are you actually trying to
accomplish here? Maybe there is a better way.

I think signs (see :help signs) automatically adjust similarly to
marks, and those are not limited, but they serve a slightly different
purpose.

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

No comments:

Post a Comment