diff options
| author | mitsuo <[email protected]> | 2021-11-30 05:56:31 -0500 |
|---|---|---|
| committer | mitsuo <[email protected]> | 2021-11-30 05:56:31 -0500 |
| commit | b9749714e0a1dcaffb9ed94df4afdcebbcddc9ea (patch) | |
| tree | bcfb7beca4e9336fc7e733dc0e28a932cc84cc1f /vim | |
| parent | e5674beea1a6de112de27ae7119de8e908e18f90 (diff) | |
| download | dotfiles-b9749714e0a1dcaffb9ed94df4afdcebbcddc9ea.tar.gz dotfiles-b9749714e0a1dcaffb9ed94df4afdcebbcddc9ea.tar.bz2 dotfiles-b9749714e0a1dcaffb9ed94df4afdcebbcddc9ea.zip | |
Add comment about pretty-print JSON
Diffstat (limited to 'vim')
| -rw-r--r-- | vim/vimrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -174,6 +174,14 @@ nmap <M-L> <C-W>l " Ref.: vim.fandom.com vmap gt :s/\<\(\w\)\(\w*\)\>/\u\1\L\2/g<CR><C-L> +" +" Not mapings but useful commands: +" +" Autoformat JSON jumbled data. (Selects the whole file as range to pass as +" standard input to `jq .` which pretty prints JSON. Then replace range with +" output.) +" :%!jq . + " Yanking and pasting " ---------------------------------------------------------------------- |
