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.
https://github.com/grwlf/vim-pastething
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.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/46ee51b4-f4df-4234-83e5-e6acd352f4cdn%40googlegroups.com.
No comments:
Post a Comment