https://github.com/bejado/vimchroma
Razer Chroma Plugin for gVim
https://github.com/bejado/vimchroma
chroma gvim python
Last synced: 6 months ago
JSON representation
Razer Chroma Plugin for gVim
- Host: GitHub
- URL: https://github.com/bejado/vimchroma
- Owner: bejado
- Created: 2017-05-20T20:54:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-20T21:01:53.000Z (over 8 years ago)
- Last Synced: 2025-04-11T01:12:45.641Z (6 months ago)
- Topics: chroma, gvim, python
- Language: C++
- Size: 11.7 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# vimchroma
A Razer Chroma plugin for gVim. See the [demonstration](https://vimeo.com/175987019).
## Building
Build using `build.bat`. This calls `setup.py` and also adds the python manifest file to the pyd.
## Installation
To install, copy the chroma.pyd file to Python's site-packages so it will be recognized by Python.Add the following to your .vimrc:
```
:py3 import chroma
:autocmd InsertEnter * :py3 chroma.insertmode()
:autocmd InsertLeave * :py3 chroma.normalmode()
:py3 chroma.normalmode()
```## Additional Notes
You must build using Visual Studio 2008, this is the only way Python 3.2 will be able to import the module (and gVim was built with Python 3.2)Do a :version check in gVim to check for python3/dyn install. You **must** have python3.
chroma.manifest was generated with the mt tool by extracting python.exe's manifest file