I finally got vim's colored syntax. These are the steps that I followed:
1) On my telnet client (Secure CRT) select "xterm" as Terminal Emulation and
the checkbox "ANSI Color"
2) Add "export TERM=aixterm" to my ".profile"
3) Copy "$VIMRUNTIME/vimrc_example.vim" to "$HOME/.vimrc"
Regards,
Jose Luis
Jose Luis-12 wrote:
>
> Hi,
>
> When I edit a "*.sh" file vim doesn't show it with colored syntax
> highlighting. Below are some configuration information.
>
> Any hint?
>
> <>
>
> /openp1/opencobd->echo $TERM
> aixterm
> /openp1/opencobd->uname -a
> AIX cobrosr 3 5 00C7A4B24C00
> /openp1/opencobd->cat .vimrc
>
> syntax on
> set ruler
>
> if has("terminfo")
> let &t_Co=8
> let &t_Sf="p1%dm"
> let &t_Sb="p1%dm"
> else
> let &t_Co=8
> let &t_Sf="dm"
> let &t_Sb="dm"
> endif
>
> <>
>
>
> Thanks in advance,
> Jose Luis
>
> --
> 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
>
>
--
View this message in context:
http://old.nabble.com/vim-with-colored-syntax-highlighting-on-AIX-tp27838342p27860910.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
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