~
~
~
~
~
~
~
:ver
VIM - Vi IMproved 6.3 (2004 June 7, compiled Feb 7 2005 08:07:43)
Included patches: 1-21, 23-24, 26, 28-34, 36-37, 39-40, 42-43, 45-46
Compiled by <bugzilla@redhat.com>
Tiny version without GUI. Features included (+) or not (-):
-arabic -autocmd -balloon_eval -browse +builtin_terms -byte_offset -cindent
-clientserver -clipboard -cmdline_compl -cmdline_hist -cmdline_info -comments
-cryptv -cscope -dialog -diff -digraphs -dnd -ebcdic -emacs_tags -eval
-ex_extra -extra_search -farsi -file_in_path -find_in_path -folding -footer
+fork() -gettext -hangul_input +iconv -insert_expand -jumplist -keymap -langmap
-libcall -linebreak -lispindent -listcmds -localmap -menu -mksession
-modify_fname -mouse -mouse_dec -mouse_gpm -mouse_jsbterm -mouse_netterm
-mouse_xterm +multi_byte -multi_lang -netbeans_intg -osfiletype -path_extra
-perl -printer -python -quickfix -rightleft -ruby -scrollbind -signs
-smartindent -sniff -statusline -sun_workshop -syntax -tag_binary
-tag_old_static -tag_any_white -tcl +terminfo -termresponse -textobjects -title
-toolbar -user_commands -vertsplit -virtualedit -visual -viminfo -vreplace
+wildignore -wildmenu -windows +writebackup -X11 -xfontset -xim -xsmp
-xterm_clipboard -xterm_save
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/share/vim"
Compilation: i386-redhat-linux-gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pi
pe -march=i386 -mcpu=i686 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
Linking: i386-redhat-linux-gcc -L/usr/local/lib -o vim -ltermcap -lacl
If you read http://www.vim.org/htmldoc/cmdline.html#cmdline-history it says:
{not available when compiled without the |+cmdline_hist| feature}
The answer is to plant more trees.... (whoops, sorry Billy!)
Try "which vi" and if you're on Red Hat chances are you'll see:
user@host:~: which vi
/bin/vi
user@host:~: which vim
/usr/bin/vim
user@host:~: ll $(which vi) $(which vim)
-rwxr-xr-x 1 root root 473964 Feb 7 2005 /bin/vi
-rwxr-xr-x 1 root root 1966604 Feb 7 2005 /usr/bin/vim
do
alias vi='/usr/bin/vim'
And all your L337N355 will come flooding back to you!