https://github.com/tsuyoshicho/transparency.vim
Gvim transparency
https://github.com/tsuyoshicho/transparency.vim
vim
Last synced: about 2 months ago
JSON representation
Gvim transparency
- Host: GitHub
- URL: https://github.com/tsuyoshicho/transparency.vim
- Owner: tsuyoshicho
- License: mit
- Created: 2019-04-06T03:45:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-09-13T02:28:41.000Z (10 months ago)
- Last Synced: 2025-09-13T04:20:05.848Z (9 months ago)
- Topics: vim
- Language: Vim Script
- Size: 53.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# transparency.vim
[](https://deepwiki.com/tsuyoshicho/transparency.vim)
gVim transparency.
And vim support in transparency supported terminal.
## Aggregation
- Win : [mattn/transparency\-windows\-vim: windows port of http://vim\-users\.jp/2011/10/hack234/](https://github.com/mattn/transparency-windows-vim) (like PublicDomain)
- Mac : [vim\-jp » Hack \#234: Vim外にいるときはVimを透けさせる](https://vim-jp.org/vim-users-jp/2011/10/05/Hack-234.html)
- Other : [Linux の gVim の透過度を設定する](https://gist.github.com/anekos/6241052)
- CLI : hightlight overwrite setting.
## Requirement
- Windows
- [mattn/vimtweak: VimTweak : The tweaking dll for GVim\.exe\.](https://github.com/mattn/vimtweak)
- Mac
- MacVim / support `transparency` option.
- Linux and other (X11 Window System)
- `transset-df` command
or
- CLI
- Use in terminal supported transparency.
## Setting
Value as percent transparency (0 is full/100 is non-trans).
Members are active / inactive value.
```vim
let g:transparency_config = {
\ 'active' : 90,
\ 'inactive' : 70
\ }
```
When `g:transparency_startup_enable` (default 1) is true, it is on these functions at startup.
And `g:transparency_activate` is GUI transparency function activating result.
or
```vim
let g:transparency_ctermbg_none = 1
```
Set before loading this plugin.
Colorscheme some hightlight name (Normal, NonText, LineNr, Folded, EndOfBuffer) overwrite ctermbg as `none`.
## Keymap
```vim
" ex
nmap (TransparencyOn)
nmap (TransparencyOff)
nmap (TransparencyToggle)
```
## License
MIT