Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsh theme #48

Open
yhcao6 opened this issue Jan 9, 2018 · 2 comments
Open

zsh theme #48

yhcao6 opened this issue Jan 9, 2018 · 2 comments

Comments

@yhcao6
Copy link

yhcao6 commented Jan 9, 2018

Can I ask if there is a theme for zsh? when I load the theme in zsh and open vim, I found the color is different from the screenshot? Here is my screenshot:

2018-01-09 10 38 08

@ghost
Copy link

ghost commented Jun 7, 2018

The default vim colorscheme uses cterm colors which roughly configures vim to look like seoul256. You'll need to make vim use the gui colorscheme:

set termguicolors

@lunacookies
Copy link

Note that the colours in seoul256 originally fit into the terminal 256 colour palette, but then iTerm changed the way it rendered colours (it actually changed to how almost all other terminals do it), making it display the colours on the 256 palette too dark. This means that you need to use hex colours to get Vim to display the ‘correct’ colours (which means that the original 256 colours are only available in old versions of iTerm). This is achievable through two methods:

  1. set termguicolors, as @yiyangc91 mentioned, tells Vim to attempt to display hex colours in the terminal (this is not necessary for a GUI, like MacVim). Some terminals do not have this ability, most notably Terminal.app (which seems to be the one @yhcao6 is using in the screenshot)

  2. Using a GUI, e.g. MacVim

All this means that you cannot display seoul256 as it was intended in any terminal that does not support termguicolors.

This topic has already been discussed in #50 and #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants