vim-jqplay : Run jq interactively in Vim
script karma |
Rating 0/0,
Downloaded by 179 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
foo bar |
|
script type |
utility |
|
description |
Run jq on a json buffer, and interactively update the output window whenever the input buffer or the jq filter buffer are modified similar to jqplay.org.
Commands:
:Jqplay [{args}] -- Start an interactive session using the current json buffer and the jq options {args}.
:JqplayScratch [{args}] -- Like :Jqplay but creates a new scratch buffer as input.
:JqplayScratch! [{args}] -- Like :JqplayScratch but forces --null-input and doesn't pass any input to jq.
Once an interactive session was started the following commands are available:
:JqplayClose[!] -- Stop the interactive session. Add a ! to also delete all associated scratch buffers.
:Jqrun [{args}] -- Invoke jq manually with the jq options {args}.
:Jqstop -- Terminate a running jq process started by this plugin.
https://github.com/bfrg/vim-jqplay |
|
install details |
Run the following in your terminal:
cd ~/.vim/pack/git-plugins/start
git clone https://github.com/bfrg/vim-jqplay
vim -u NONE -c 'helptags vim-jqplay/doc | quit'
Note: The directory name git-plugins is arbitrary, you can pick any other name. For more details see :help packages.
Alternatively, use your favorite plugin manager. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.145.119.199
|