Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VIM allows execute external commands and replace neccessary line/block with the command output.
- * `:.` - current line
- * `:%` - full buffer
- * `:1,10` - line range
- * `:'<,'>` - visually selected block
- Format JSON with jq
- ```
- :.!jq .
- ```
- XML:
- ```
- :%!xmllint --format -
- ```
Add Comment
Please, Sign In to add comment