Code highlight is disabled by default while you installed VIM in AIX. The root cause is default installation doesn’t create the .vimrc file. You can follow below steps to enable it.
- Add “export TERM=aixterm” to “.profile” in your home directory.
- Copy “$VIMRUNTIME/vimrc_example.vim” to “$HOME/.vimrc”.
In my system, my $VIMRUNTIME is “/opt/freeware/share/vim/vim63/” and my Home directory is “/”. And the item 1 is optional.