Script Roundup: vim-pipe, Query Command Complete

Send in your Vim scripts for review through our contact form or @vimnews.

vim-pipe

vim-pipe (GitHub: krisajenkins / vim-pipe) by Kris Jenkins helps improve workflow by allowing a buffer to be run through a frequently used command whenever <LocalLeader>r is pressed. This could be a syntax checker, or something that renders Markdown, or shell to run a database query.

The author has provided a terminal-friendly example using a Markdown parser and lynx:

autocmd FileType mkd :let b:vimpipe_command="multimarkdown | lynx -dump -stdin"

Query Command Complete

Query Command Complete (GitHub: caio / querycommandcomplete.vim, License: PD) by Caio Romão adds support for completion suggestions from any external command. The author's example is email address completion by using it as a Mutt query_command wrapper.

blog comments powered by Disqus