{"id":22904600,"url":"https://github.com/tribela/vim-transparent","last_synced_at":"2026-01-16T15:23:47.979Z","repository":{"id":53601217,"uuid":"50151794","full_name":"tribela/vim-transparent","owner":"tribela","description":"Remove all background color on Vim","archived":false,"fork":false,"pushed_at":"2024-06-22T09:32:17.000Z","size":6434,"stargazers_count":168,"open_issues_count":5,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-12T06:48:32.941Z","etag":null,"topics":["colorscheme","transparent-term","vim"],"latest_commit_sha":null,"homepage":null,"language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tribela.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-22T02:24:40.000Z","updated_at":"2025-08-11T22:37:38.000Z","dependencies_parsed_at":"2024-12-14T02:46:49.970Z","dependency_job_id":"de3fc864-bdbd-4a22-a70d-2a325d3d3e33","html_url":"https://github.com/tribela/vim-transparent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tribela/vim-transparent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tribela%2Fvim-transparent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tribela%2Fvim-transparent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tribela%2Fvim-transparent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tribela%2Fvim-transparent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tribela","download_url":"https://codeload.github.com/tribela/vim-transparent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tribela%2Fvim-transparent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["colorscheme","transparent-term","vim"],"created_at":"2024-12-14T02:46:39.039Z","updated_at":"2026-01-16T15:23:47.951Z","avatar_url":"https://github.com/tribela.png","language":"Vim Script","funding_links":[],"categories":["vim"],"sub_categories":[],"readme":"# Vim transparent\n\nIf you love transparent term, but your favourite vim color scheme doesn't\n\nIf you use Neovim, See [transparent.nvim][]\n\n[transparent.nvim]: https://github.com/tribela/transparent.nvim\n\n\n# Screenshots\n\nWithout vim-transparent (example color scheme is [eva01][])\n\n![eva01 without transparent](https://github.com/tribela/vim-transparent/assets/5047683/09e18e7f-7a01-4b3b-a11a-021d53a36fe7)\n\nWith vim-transparent\n\n![eva01 with transparent](https://github.com/tribela/vim-transparent/assets/5047683/b72cb2ba-60b9-4348-84d3-f91c35cffe3c)\n\n\n[eva01]: https://github.com/hachy/eva01.vim\n\n\n## Installation\n\nI recommend to use [Vim-Plug][] to manage plugins.\n\n```vimrc\nPlug 'tribela/vim-transparent'\n```\n\n[Vim-Plug]: https://github.com/junegunn/vim-plug\n\n\n## Configuration\n\n### Advanced configuration\n\nThe bad thing is something in vim may be not transparent, if you use vim plugins. You can use `:filter /\u003cpattern\u003e/ hi` to find the highlight groups e.g. `:filter /CocList/ hi`, and change it.\n\nFor example, I use these plugins, [coc.nvim](https://github.com/neoclide/coc.nvim), [lightline](https://github.com/itchyny/lightline.vim), [rnvimr](https://github.com/kevinhwang91/rnvimr), [fzf.vim](https://github.com/junegunn/fzf), [vim-deus](https://github.com/ajmwagar/vim-deus).\n\n:bulb: You can also use `let g:transparent_groups_add` if you just want to add some groups, without overriding the defaults. \n\n```vim\nPlug 'tribela/vim-transparent'\n\n\" default\nlet g:transparent_groups = ['Normal', 'Comment', 'Constant', 'Special', 'Identifier',\n                            \\ 'Statement', 'PreProc', 'Type', 'Underlined', 'Todo', 'String',\n                            \\ 'Function', 'Conditional', 'Repeat', 'Operator', 'Structure',\n                            \\ 'LineNr', 'NonText', 'SignColumn', 'CursorLineNr', 'EndOfBuffer']\n\n\" Pmenu\nlet g:transparent_groups += ['Pmenu']\n\n\" coc.nvim\nlet g:transparent_groups += ['NormalFloat', 'CocFloating']\n\naugroup transparent\n    autocmd VimEnter,ColorScheme * call MyTransparent()\naugroup END\n\nfunction! MyTransparent()\n    \" Customize the highlight groups for transparency in here.\n\n    \" CursorLine\n    \"hi CursorLine ctermfg=NONE ctermbg=239 guibg=NONE guibg=#4e4e4e\n\n    \" coc.nvim\n    \"hi CocMenuSel ctermbg=239 guibg=#4e4e4e\nendfunction\n```\n\n`vim-deus` configs:\n\n```vim\nset t_Co=256\nset termguicolors\n\nlet \u0026t_8f = \"\\\u003cEsc\u003e[38;2;%lu;%lu;%lum\"\nlet \u0026t_8b = \"\\\u003cEsc\u003e[48;2;%lu;%lu;%lum\"\n\n\" Add `let s:ds.none = ['NONE', 'NONE']` to deus.vim.\nlet g:deus_sign_column = 'none'\n\n\"set background=dark    \" Setting dark mode\ncolorscheme deus\nlet g:deus_termcolors=256\n```\n\nBecause of `let g:transparent_groups += ['NormalFloat', 'CocFloating']`, floating windows are transparent. So add borders for those transparent floating windows. Input `:CocConfig` to open the `coc-settings.json`, and add the blew:\n\n```json\n    // `:h coc-config-float`\n    \"suggest.floatConfig\": {\n        \"border\": true\n    },\n    \"diagnostic.floatConfig\": {\n        \"border\": true\n    },\n    \"signature.floatConfig\": {\n        \"border\": true\n    },\n    \"hover.floatConfig\": {\n        \"border\": true\n    },\n```\n\nMake lightline transparent:\n\n```vim\nautocmd VimEnter * call SetupLightlineColors()\nfunction SetupLightlineColors() abort\n  \" transparent background in statusbar\n  let l:palette = lightline#palette()\n\n  \" `let s:p.{mode}.{where} = [ [ {guifg}, {guibg}, {ctermfg}, {ctermbg} ], ... ]`\n  let l:palette.normal = {\n          \\ 'left': [[ '#008080', 'NONE', 6, 'NONE' ]],\n          \\ 'middle': [[ '#008080', 'NONE', 6, 'NONE' ]],\n          \\ 'right': [[ '#008080', 'NONE', 6, 'NONE' ]],\n        \\ }\n  let l:palette.inactive = l:palette.normal\n  let l:palette.visual = l:palette.normal\n  let l:palette.insert = l:palette.normal\n  let l:palette.replace = l:palette.normal\n  let l:palette.tabline = {\n          \\ 'left': [[ '#0000ff', 'NONE', 12, 'NONE' ]],\n          \\ 'tabsel': [[ '#008080', 'NONE', 6, 'NONE' ]],\n          \\ 'middle': [[ 'NONE', 'NONE', 'NONE', 'NONE' ]],\n          \\ 'right': [[ 'NONE', 'NONE', 'NONE', 'NONE' ]],\n        \\ }\n\n  call lightline#colorscheme()\nendfunction\n\n\" Comment out the `colorscheme`.\nlet g:lightline = {\n      \"\\ 'colorscheme': 'deus',\n      \\ }\n```\n\nRnvimr:\n\n```vim\n\" Rnvimr background\n\":hi RnvimrNormal\n\" show draw border\nlet g:rnvimr_draw_border = 1\n```\n\nfzf.vim:\n\n```vim\n\":echo g:fzf_colors\n\" transparent the gutter\nlet $FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS .. ' --color=gutter:-1'\n```\n\n### Images\n\nlightline and vim-deus:\n\n![lightline-and-deus](https://github.com/tribela/vim-transparent/assets/5047683/dc49c12c-dce5-4f53-84bd-bf58ffdb0953)\n\ncoc.nvim floating windows:\n\n![coc-floating_windows](https://github.com/tribela/vim-transparent/assets/5047683/debb3c35-7b37-4fe5-a638-140081f1d245)\n\ncoc.nvim CocList:\n\n![coc-coclist](https://github.com/tribela/vim-transparent/assets/5047683/186e9b69-0caf-4390-b524-79ff82be7398)\n\nRnvimr:\n\n![rnvimr](https://github.com/tribela/vim-transparent/assets/5047683/6bd67138-875c-4791-b8da-a3d0609e2ccc)\n\nPmenu:\n\n![pmenu](https://github.com/tribela/vim-transparent/assets/5047683/0f8b36d6-13b9-4eba-a620-6b1334e70be0)\n\n## Usage\n\nvim-transparent automatically transparent all of highlight settings.\n\nYou can disable it by `:TransparentDisable` and re-enable it by `:TransparentEnable`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftribela%2Fvim-transparent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftribela%2Fvim-transparent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftribela%2Fvim-transparent/lists"}