문제

Vim (마지막 버전)을 사용하여 Iterm 2 (안정적 및 베타 릴리스 모두)에 색상 문제가 있습니다.

VIM-CSS-COLOR 플러그인을 사용하여 ITERM 2의 스크린 샷입니다. iterm2 screenshot

및 terminal.app에서 동일합니다. 터미널

보시다시피, Iserm은 이상한 색상을 덜어줍니다 (이 플러그인뿐만 아니라 이것은 단지 예일뿐입니다).나는 Iterm2 환범 및 지금까지 발견 된 모든 Vim 매개 변수를 사용하여 콘트라스트 슬라이더를 재생해 왔습니다 (X- 말 - 색상 -256 등).

이것은 내 .vimrc 파일입니다. https://github.com/nanark/.vim/blob/master/vimrc

모든 아이디어?

도움이 되었습니까?

해결책

A terminal with 256 color support (like iTerm 2) is simply not capable of displaying the full range of colors.

The css plugin uses a conversion to approximate the hex color code in the terminal. This was designed to work with the default set of colors used by xterm based on the comments in the code.

If you want an accurate preview, you should use gvim or macvim.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top