Answer the question
In order to leave comments, you need to log in
How to set up solarized colors/theme for vim on raspberry pi?
In general, my eyes requested a more comfortable theme for the vim editor in the raspberry pi terminal. After a short search, I found out that such a theme would be solarized theme . I downloaded, installed, configured and as a result the .vimrc config file looks like this:
let g:solarized_termcolors=256
set t_Co=256
colorscheme
solarized my eyes wanted.
But as soon as I opened vim directly on the raspberry, I ran into a problem that my brain no longer likes - all the text is the same color, either blue or light green, it's hard to understand.
As I understand it, since everything works through putty, then vim itself and the theme for it are configured correctly, the problem lies in the terminal itself. Google offers me various color settings for non-Debin, and even more so non-Raspbian terminals. Nothing that google has suggested to me is similar to what I see on the raspberry pi in terms of terminal configuration.
Actually, how to solve this problem?
Answer the question
In order to leave comments, you need to log in
sudo apt-get install fbterm
fbterm
export TERM=fbterm
env | grep TERM do in SSH, see which terminal. It is there, for example, xterm-256color.
On the device itself, export TERM=xterm-256color.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question