Quando estou indo para um terminal virtual, meu esquema de cores Vim é ignorado.
Eu o configurei seguindo este blog .
Veja todos os meus ~/.vimrc
if $COLORTERM == 'gnome-terminal'
set term=gnome-256color
set t_Co=256
colorscheme railscasts
else
colorscheme default
endif
"FileType support
set filetype=on
filetype plugin on
filetype indent on
"Color scheme and font
autocmd FileType javascript,html,css,php colorscheme railscasts
autocmd FileType javascript,html,css,php set gfn=Monaco\ 10
"Indentation
autocmd FileType javascript,html,css,php set ai
autocmd FileType javascript,html,css,php set sw=4
autocmd FileType javascript,html,css,php set ts=4
autocmd FileType javascript,html,css,php set sts=4
autocmd FileType javascript,css,php set textwidth=79
"Enable autocompletion
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
"Enable line numbers
autocmd FileType javascript,css,php set number
"Enable incremental search
autocmd FileType javascript,html,css,php set incsearch
Esta parte deveria ter sido corrigida corretamente?
if $COLORTERM == 'gnome-terminal'
set term=gnome-256color
set t_Co=256
colorscheme railscasts
else
colorscheme default
endif