diff options
| author | Mitsuo Tokumori <[email protected]> | 2022-06-25 11:36:24 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2022-06-25 11:36:24 -0500 |
| commit | 3d5f2f2fa6269f8d6a1412cbbddbb538121b28f2 (patch) | |
| tree | 383d906956d446509e3f57d039a45f177e3f9627 /vim/vimrc | |
| parent | 884ee869c3ba9698647391cf6400bae11d6959a4 (diff) | |
| download | dotfiles-3d5f2f2fa6269f8d6a1412cbbddbb538121b28f2.tar.gz dotfiles-3d5f2f2fa6269f8d6a1412cbbddbb538121b28f2.tar.bz2 dotfiles-3d5f2f2fa6269f8d6a1412cbbddbb538121b28f2.zip | |
Add git-prompt.sh. Some distros require it
E.g., Amazon Linux 2
Diffstat (limited to 'vim/vimrc')
| -rw-r--r-- | vim/vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -192,6 +192,8 @@ vmap gt :s/\<\(\w\)\(\w*\)\>/\u\1\L\2/g<CR><C-L> " 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.) +" Thankyou: https://stackoverflow.com/questions/26214156/how-to-auto-format-json-on-save-in-vim +nnoremap gJ :%!python3 -m json.tool<CR> " :%!jq . " NERDTree plugin |
