I have problem with VIM command line when calling system commands.
!ls, all command output colors aren't parsed by VIM. My system is Ubuntu 12.04 LTS with VIM 7.3.429 from Ubuntu repositories.
Is there any workaround for this problem?
:!echo $TERM in VIM returns :
I found a simple workaround but it's not perfect
if [ "$VIM" ] && [ "$TERM" = "dumb" ] then # For gvim's monochromatic :shell PS1='\n\u@\h \w\n\$ ' unalias ls unalias grep fi
(It's working on bash)