Friday, October 2, 2020

Re: vimrc: identify "small" version vs "huge" version



On Friday, October 2, 2020 at 11:34:49 AM UTC-4, ping wrote:
experts:
I found in centos 7 there is /usr/bin/vi and /usr/bin/vim, with same version, patches.
but vi is the "small" version and "vim" is the huge one. 
obviously both will use same .vimrc, and when vi is used a lot of errors pop up because of the much less features compiled.
how do I differ these two in  my .vimrc file?

thanks.

Does

echo v:progname

show a different result?
 

--
--
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/96d6d9c0-0373-43be-871e-24baf4981f99o%40googlegroups.com.

No comments:

Post a Comment