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.

How to stop vifm from changing vim synatex

0 votes
asked Oct 28 in vifm by antotocar34
edited Oct 28 by xaizek

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()
commented Oct 28 by anonymous

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

commented Oct 29 by xaizek

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
answered Oct 28 by xaizek

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.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...