Announce: vim-pastething pre-processing plugin

20 views
Skip to first unread message

Sergei Mironov

unread,
Sep 14, 2023, 7:04:23 AM9/14/23
to vim_use
Hello. Let me share a copy-paste preprocessing plugin for Vim. It helps to automate some routine Markdown/LaTeX/others formatting for urls, images and text.


For example, the plugin can recognize that https://example.com is an url. It will convert it into [the_link](https://example.com) provided that we are editing a Markdown document and "the_link" string was visually selected at the moment of pasting.

The image pasting works in the style of img-paste.vim plugin - images are extracted by `xclip`/`wl-paste` and saved into a file. The relative path to the file is then inserted according to a pre-configured pattern.

Reply all
Reply to author
Forward
0 new messages