Skip to content

vim overrides the terminal color scheme #6457

Closed

Description

@Tyriar

Integrated terminal master issue: #143

Steps to Reproduce:

  1. Toggle terminal
  2. Launch vim (color scheme changes)
  3. Exit vim (vim's changed color scheme remains)

Activity

  1. added
    bug
    terminal
    on May 18, 2016
  2. romgrk commented on Jun 3, 2016

    @romgrk

    I might be wrong, but from what I recall/understood from recent discussions in neovim:

    • In some terminal emulators, the colors can be set by the program; however, there can be at most n colors, where n is usually 16 or 256.
    • Some vim colorschemes take advantage of this to approximate #RRGGBB colors, by mapping colors to terminal color-codes [0-255].
    • Vim is supposed to save the colors from termcap/terminfo upon entering, and restore them upon leaving.
  3. Tyriar commented on Jun 13, 2016

    @Tyriar
    ContributorAuthor

    This is fixed in latest, likely to do with colors 16-255 not being defined previously.

  4. changed the title [-]Why are integrated terminal colors reset when vim starts? [/-] [+]vim overrides the terminal color scheme[/+] on Jul 1, 2016
  5. added
    verified
    on Jul 1, 2016
  6. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugterminalverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions