On 2020-07-28, Manas wrote:
> On Mon, Jul 27, 2020 at 03:08:49PM -0700, Gary Johnson wrote:
> > How's this for a start? The number n here is fixed, but you could
> > use a while loop instead of the for loop, increment n in each
> > iteration, and break when one of the files doesn't exist. See
> > ":help filereadable()".
> >
> > let n = 4
> > for i in range(n)
> > exe "tabnew" printf("dir2/A%d.md", i)
> > exe "vnew" printf("dir1/L%d.md", i)
> > endfor
> >
> That is the idea which I was thinking but opening other windows (after
> the first one) is giving me troubles.
If it's still giving you troubles, you could post here what you have
and we could perhaps find the problem. If you do that, please be
specific about what you mean by giving you troubles.
Regards,
Gary
--
--
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 vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200727231905.GD7280%40phoenix.
No comments:
Post a Comment