{"id":13898770,"url":"https://github.com/overcache/NeoSolarized","last_synced_at":"2025-07-17T16:30:48.348Z","repository":{"id":37762256,"uuid":"69217724","full_name":"overcache/NeoSolarized","owner":"overcache","description":"NeoSolarized: A fixed solarized colorscheme for better truecolor support.","archived":false,"fork":false,"pushed_at":"2023-05-28T19:08:53.000Z","size":164,"stargazers_count":520,"open_issues_count":8,"forks_count":100,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-25T05:30:30.655Z","etag":null,"topics":["color-scheme","macvim","neovim","solarized","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/overcache.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-09-26T05:59:17.000Z","updated_at":"2024-11-04T04:28:26.000Z","dependencies_parsed_at":"2022-07-12T16:51:48.887Z","dependency_job_id":"b12340ee-ced4-491c-b7dc-069826caeb10","html_url":"https://github.com/overcache/NeoSolarized","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/overcache/NeoSolarized","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overcache%2FNeoSolarized","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overcache%2FNeoSolarized/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overcache%2FNeoSolarized/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overcache%2FNeoSolarized/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/overcache","download_url":"https://codeload.github.com/overcache/NeoSolarized/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overcache%2FNeoSolarized/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265629842,"owners_count":23801477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color-scheme","macvim","neovim","solarized","vim"],"created_at":"2024-08-06T18:04:26.921Z","updated_at":"2025-07-17T16:30:48.073Z","avatar_url":"https://github.com/overcache.png","language":"Vim script","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"# NeoSolarized\nAnother solarized color theme for truecolor neovim / vim.\n![Screenshot-dark](http://ww3.sinaimg.cn/large/5d4db8f9gw1f88o0e8r6mj21kw11hqcx.jpg)\n![Screenshot-light](http://ww3.sinaimg.cn/large/5d4db8f9gw1f8bkj8fnghj21kw11n7et.jpg)\nFork from [vim-colors-solarized](https://github.com/altercation/vim-colors-solarized), Features:\n- truecolor support for neovim/vim terminal, and works well in Gvim/MacVim.\n- define color for neovim's embed terminal.\n- define color for [Neomake](https://github.com/neomake/neomake), [GitGutter](https://github.com/airblade/vim-gitgutter), [ALE](https://github.com/w0rp/ale)\n\n## Requirements\n- A [terminal](https://gist.github.com/XVilka/8346728) which supports truecolor\n- neovim or Gvim/MacVim or vim ≥ 7.4.1799\n- The following line in your `init.vim` or `.vimrc` file:\n\n    ```vim\n    set termguicolors\n    ```\n\n## Installation\n- Manual install\nMove NeoSolarized.vim to your vim RunTimePath directory:\n\n    ```bash\n    cd NeoSolarized/colors\n    mv NeoSolarized.vim ~/.config/nvim/colors/\n    ```\n    or for vim\n    ```bash\n    cd NeoSolarized/colors\n    mv NeoSolarized.vim ~/.vim/colors/\n    ```\n- Plugin managers: [vim-plug](https://github.com/junegunn/vim-plug):\n    - Add `Plug 'overcache/NeoSolarized'` to your `init.vim` or `.vimrc` file.\n    - Run `:PlugInstall` after resourcing/relaunching.\n\nAfter the installation, configure it as your colorscheme by putting the following line into your `init.vim` or `.vimrc` file:\n```vim\ncolorscheme NeoSolarized\n```\n## Options\nSome options of the original solarized theme were removed or renamed to avoid config conflicts.\nMake sure to put configuration before the line `colorscheme NeoSolarized` in `init.vim` or `.vimrc`.\n\n```vim\n\" Default value is \"normal\", Setting this option to \"high\" or \"low\" does use the\n\" same Solarized palette but simply shifts some values up or down in order to\n\" expand or compress the tonal range displayed.\nlet g:neosolarized_contrast = \"normal\"\n\n\" Special characters such as trailing whitespace, tabs, newlines, when displayed\n\" using \":set list\" can be set to one of three levels depending on your needs.\n\" Default value is \"normal\". Provide \"high\" and \"low\" options.\nlet g:neosolarized_visibility = \"normal\"\n\n\" I make vertSplitBar a transparent background color. If you like the origin\n\" solarized vertSplitBar style more, set this value to 0.\nlet g:neosolarized_vertSplitBgTrans = 1\n\n\" If you wish to enable/disable NeoSolarized from displaying bold, underlined\n\" or italicized\" typefaces, simply assign 1 or 0 to the appropriate variable.\n\" Default values:\nlet g:neosolarized_bold = 1\nlet g:neosolarized_underline = 1\nlet g:neosolarized_italic = 0\n\n\" Used to enable/disable \"bold as bright\" in Neovim terminal. If colors of bold\n\" text output by commands like `ls` aren't what you expect, you might want to\n\" try disabling this option. Default value:\nlet g:neosolarized_termBoldAsBright = 1\n```\n\n\nTo enable the dark version of the theme add the line\n```vim\nset background=dark\n```\nFor more information check out the documentation in `NeoSolarized.vim`.\n\n\n## More info\n### Plugins used in the screenshot\n\n- [NERDTree](https://github.com/scrooloose/nerdtree)\n- [vim-airline](https://github.com/vim-airline/vim-airline)\n- [neomake](https://github.com/neomake/neomake)\n- [vim-gitgutter](https://github.com/airblade/vim-gitgutter) (make sure you have: `let g:gitgutter_override_sign_column_highlight = 0` in your init.vim/.vimrc)\n- [vim-signature](https://github.com/kshenoy/vim-signature)\n\n### Truecolor test\nYou can run this script to test if your terminal is supported. If the colors blend smoothly like: ![colortest](http://ww3.sinaimg.cn/large/5d4db8f9gw1f8into8gvgj20hf00o0sv.jpg), then you know that you have True Color support.\n```bash\nawk 'BEGIN{\n    s=\"/\\\\/\\\\/\\\\/\\\\/\\\\\"; s=s s s s s s s s;\n    for (colnum = 0; colnum\u003c77; colnum++) {\n        r = 255-(colnum*255/76);\n        g = (colnum*510/76);\n        b = (colnum*255/76);\n        if (g\u003e255) g = 510-g;\n        printf \"\\033[48;2;%d;%d;%dm\", r,g,b;\n        printf \"\\033[38;2;%d;%d;%dm\", 255-r,255-g,255-b;\n        printf \"%s\\033[0m\", substr(s,colnum+1,1);\n    }\n    printf \"\\n\";\n}'\n```\n### Tmux\nYou may need the same hack to make vim work well in tmux. Put these lines into your .vimrc:\n```vim\nset t_8f=^[[38;2;%lu;%lu;%lum\nset t_8b=^[[48;2;%lu;%lu;%lum\n```\nThe '^[' represent the escape char. You should press \u003ckbd\u003eCtrl-v\u003c/kbd\u003e + \u003ckbd\u003eEsc\u003c/kbd\u003e to input actual escape. If the ^[ is two characters (^ and [), it's wrong. If it is one character, it's okay. When you delete the character with backspace, you will find that ^[ is deleted at once. Please also check\n:help c_CTRL-V (and :help i_CTRL-V).\ncheck [issue](https://github.com/vim/vim/issues/993#issuecomment-241676971) and [issue](https://github.com/vim/vim/issues/981#issuecomment-242893385) for more information.\n\n\nneovim works perfect without this config.  If you encounter a color issue using tmux, make sure that:\n- you are using the latest version of tmux (v2.2)\n- your $TERM variable is set to \"xterm-256color\"\n- add the line below to your .tmux.conf file:\n\n    ```tmux\n    set-option -ga terminal-overrides \",xterm-256color:Tc\"\n    ```\n\nSee this [article](https://deductivelabs.com/blog/tech/using-true-color-vim-tmux/) for more details on tmux.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovercache%2FNeoSolarized","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fovercache%2FNeoSolarized","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovercache%2FNeoSolarized/lists"}