Commits

Joongi Kim  committed 29bce70

Set fallback colorscheme for vim when rich terminal is not available (e.g., console)

  • Participants
  • Parent commits 9839226

Comments (0)

Files changed (1)

File home-config/vimrc

     if s:tty=~"/pts/" && ($TERM=~"-256color$" || $TERM=="linux" || $TERM=="screen")
 	set t_Co=256
 	set term=xterm-256color
-%if vim_colorscheme != "solarized":
 	colorscheme {{vim_colorscheme}}
-%end
+    else
+	colorscheme default
     endif
-%if vim_colorscheme == "solarized":
-    colorscheme {{vim_colorscheme}}
-%end
 endif
 
 syntax on