OSX-Terminal.app + vim + solarized colorscheme

I know this topic is widespread on the Internet, but I've been looking for a solution all night, and nothing helps.

I want to use vim in an osx terminal using a polarized color scheme.

So, I downloaded the solarized.vim file, copying it to / usr / share / vim / colors and wrote

   let g:solarized_termcolors=256
   set background=dark
   colorscheme solarized 

in .vimrc.

In the settings, the terminal is set to xterm-256color, but the color is still spoiled.

What I did is exactly what you can find here .

So what am I doing wrong?

+4
source share
2 answers

If you are trying to use VIM on the console, try changing the terminal theme to Solarized.

You can follow this post in the Solarized topic for OSX :

Terminal.app , . Solarized Dark Solarized Light .

, , . : System Preferences > Security & Privacy > General > Allow applications "Anywhere". !

  1. Terminal.app "" > "". , .
+6

https://vi.stackexchange.com/a/3707/1145

http://ethanschoonover.com/solarized/vim-colors-solarized

:

Solarized (.. , gvim macvim), , , , Solarized palette. Ive , Xdefaults Solarized, Solarized homepage. Solarized , Solarized , , 256 ( 16 ansi Solarized ).

, solarized.vim . , 256 Solarized, 256 . , :

let g:solarized_termcolors=256

, Solarized , , .

+1

Source: https://habr.com/ru/post/1599465/


All Articles