[CentOS] No "last command" in VIM?

Thu Oct 21 18:00:21 UTC 2010
Steve Huff <shuff at vecna.org>

On Oct 21, 2010, at 1:42 PM, Dotan Cohen wrote:

> I'll file a bug if needed and someone confirms.


This is not a bug.  When you invoke vim as 'vi', the -C option is added, which sets Vim to Vi-compatible mode; this disables a number of features, including :history.  From :help history :

:his[tory]	Print the history of last entered commands.
		{not in Vi}
		{not available when compiled without the |+cmdline_hist|

The "{not in Vi}" means that this feature is not available in Vi-compatible mode.


If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9  E61D AD54 0251 8477 B706)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20101021/28f8820e/attachment-0004.sig>