Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.
0 votes
in vifm by
edited by

Hi, when I first open vifm, the colors are working properly, but then when I open a text file with vim, the color scheme changes.. The color scheme changes for my terminal as well. Wondering if there is a quick fix. Thank you

I have attached what I believe to be the relevant parts of my vimrc file.

let mapleader =" "

call plug#begin('~/.vim/plugged')

Plug 'lervag/vimtex'
let g:tex_flavor='latex'
let g:vimtex_view_method='zathura'
let g:vimtex_quickfix_mode=0
set conceallevel=2
let g:tex_conceal='abdmg'

Plug 'SirVer/Ultisnips'
let g:UltiSnipsExpandTrigger = '<tab>'
let g:UltiSnipsJumpForwardTrigger = '<tab>'
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
let g:UltiSnipsSnippetDirectories = ['/home/acarnec/.vim/my-snippets']
Plug 'junegunn/goyo.vim'

Plug 'dylanaraps/wal.vim'
call plug#end()
by

echo $TERM returned xterm -256color. I am using gnome terminal. I assume this is a proper value.

by

Yes, gnome terminal emulates xterm. I guess palette of the terminal gets reset like here, which makes me wonder if you're changing it from a script as well.

1 Answer

0 votes
by

Hi,

vifm doesn't do anything like that intentionally. You might want to check if $TERM has proper value for the terminal you're using.

...