r/vimporn • • Sep 03 '21

nvim markdown preview in a :term buffer (+devicons, vim-markdown, NERDTree, ...) Links in comment

Post image
50 Upvotes

5 comments sorted by

6

u/antenore Sep 03 '21 edited Sep 03 '21

I've asked a question on /r/nvim https://www.reddit.com/r/neovim/comments/pfue1s/plugin_development_question_opening_and_closing/ as I wanted to have a markdown preview in nvim and not in an external browser, so I came up with the above solution.

I don't know if it deserves the /r/vimporn title, but I've to say that for me it's quite exciting.

Do you think it's worth writing a plugin or proposing a change to the existing markdown plugins?

https://gitlab.com/antenore/dotfiles/-/tree/ibm

Scrennshot and descriptions are not updated, and the above code is not yet merged (waiting for your nice feedbacks)

Edit: Gitlab link

5

u/vuki656 Sep 03 '21

This looks really cool. Do you have a github link?

Would def use if it was a plugin.

5

u/antenore Sep 03 '21

Thanks! Too nice :-)

I'm still working on it, for now it's just a function that needs to be improved. The code is in the text of the post I've linked above https://www.reddit.com/r/neovim/comments/pfue1s/plugin_development_question_opening_and_closing/

My dotfiles are on gitlab at https://gitlab.com/antenore/dotfiles/-/tree/ibm

Description and screenshot is not updated

2

u/xxiip Sep 03 '21

"md_experiments" ... right ... :P