Vim » History » Version 1
Anonymous, 09/28/2007 10:25 AM
1 | 1 | Anonymous | = Colours in VIM = |
---|---|---|---|
2 | 1 | Anonymous | |
3 | 1 | Anonymous | In order to display coloured text in VIM, change ''/etc/profile.d/vim.sh'' to: |
4 | 1 | Anonymous | {{{ |
5 | 1 | Anonymous | if [ -n "$BASH_VERSION" -o -n "$KSH_VERSION" -o -n "$ZSH_VERSION" ]; then |
6 | 1 | Anonymous | # for bash and zsh, only if no alias is already set |
7 | 1 | Anonymous | alias vi >/dev/null 2>&1 || alias vi=vim |
8 | 1 | Anonymous | fi |
9 | 1 | Anonymous | }}} |