What is it?
Paravim is an editor for Nim powered by Vim (via libvim) and rendered with OpenGL (via paranim).
Join the discussion on /r/Paravim and read the source code.
How do I get started?
To use it, install Nim and do:
nimble install pvim
Then, as long as you have ~/.nimble/bin
on your PATH, you should be able to run pvim
in any directory.
A few notes for linux users:
- On Ubuntu, if pvim fails to build, you may need to install X11 and OpenGL related libraries with
sudo apt install xorg-dev libgl1-mesa-dev
- On Ubuntu, if pvim fails to load, try
sudo apt install libtinfo5
- On Arch, if pvim fails to load, you may need to do
sudo ln -s /usr/lib/libtinfo.so.6 /usr/lib/libtinfo.so.5
Embedding inside a game
Since Paravim is rendered with OpenGL, it can be embedded in a game:
In this example, it is being rendered on top of a platformer and toggled with the escape key. You can try it yourself by cloning the example repo and running nimble dev
in any of the projects.