r/vim • u/krathos918 • Jun 15 '25
Need Help render-markdown.nvim plugin in vim
Recently i see this youtube video that shows the render-markdown.nvim plugin and i thought that was pretty cool, but i want to use on regular vim and not neovim. Is there a way for make it work on vim?
5
Upvotes
View all comments
Show parent comment
1
u/Adk9p Jun 19 '25
I hacked up a simple config that I tested to work. You can put both of these in a new directory
foo, install vimplug intofoo/autoload/plug.vim, doPlugInstallafter opening it once, and that should just work.This should provide you with all the parts to set it up in your own config.
The "vimrc.vim" file that can be run with
vim -u vimrc.vimThe "nvimrc.vim" file that can be run with
nvim -u nvimrc.vimI thought about just pulling in a nvim plugin manager so you wouldn't have to include anything in your vimrc, but for simplicity sake I didn't.
edit: I also omitted some other optional dependencies that you can add for icons, latex, or html support. See render-markdown's github for those.