Hydrovim
May 7, 2023 Β· View on GitHub
Hydrovim
A Neovim plugin that runs Python code and displays the result in your code editor.

ποΈ Demo
β Installation
Install nui nvim plugin :
Plug 'MunifTanjim/nui.nvim'
π Also be Sure python and awk is installed.
hydrovim use
pythoncommand andawkfor running codes.
Installing hydrovim :
For installing with vim plug :
Plug 'smzm/hydrovim'
βοΈIssue :
This plugin tested only with Vim and Neovim which configured with .vim files. Some people can't use Hydrovim when configured Neovim with Lua.
β Usage :
- Put the cursor on the desire line of code and press
F8for running hydrovim from first line of your code to the current line and show the result of the current line in the Hydrovim pop-up. - You can highlight code in visual mode and run hydrovim with
F8. - Use
qorF8key again for close hydrovim pop-up.
πΎ Troubleshooting :
If with pressing F8 hydrovim popup doesn't appear, First Check prerequisites in your terminal :
awkcommand should be available.pythoncommand should be available. (pythonis the command use in hydrovim notpython3)MunifTanjim/nui.nvimshould installed in your neovim.
π Put syntax on in top of your neovim configuration file. (before hydrovim installation)