Monday, June 4, 2018

Re: Bash in :shell vs :terminal

Christian wrote:

> On Mo, 04 Jun 2018, Jason Franklin wrote:
>
> > Unfortunately, $VIM_SERVERNAME is not always available. This happens
> > when Vim is compiled without +clientserver.
>
> Good catch. I did not think of it and I have been using the
> VIM_SERVERNAME environment variable for this purpose.
>
> @Bram, can we have a environment variable indicating that we are in a
> Vim Terminal? Possibly which also includes the Vim patchlevel?
>
> That is also quite useful, when deciding whether to use the terminal
> API.

I suppose we can add VIM_TERMINAL for that.


--
How To Keep A Healthy Level Of Insanity:
6. In the memo field of all your checks, write "for sexual favors".

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: