jdaddy.vim : JSON manipulation and pretty printing
script karma |
Rating 39/18,
Downloaded by 1605 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Tim Pope |
|
script type |
utility |
|
description |
Check out these *must have* mappings for working with JSON in Vim:
* `aj` provides a text object for the outermost JSON object, array, string, number, or keyword.
* `gqaj` "pretty prints" (wraps/indents/sorts keys/otherwise cleans up) the JSON construct under the cursor.
* `gwaj` takes the JSON object on the clipboard and extends it into the JSON object under the cursor.
There are also `ij` variants that target innermost rather than outermost JSON construct.
https://github.com/tpope/vim-jdaddy |
|
install details |
Extract in ~/.vim (~\vimfiles on Windows). |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 207.241.235.164
|