summaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2023-03-19 23:31:18 -0500
committerMitsuo Tokumori <[email protected]>2023-03-19 23:31:18 -0500
commit3d4887349318f43dadf1de00ad15e35ba7812a84 (patch)
tree082e1bbdb4d134e02f5cca35cb610aea6b77d2da /vim/vimrc
parent214e1fcccdcb9baf3d0b79de8cba95fe3ca7fe07 (diff)
downloaddotfiles-3d4887349318f43dadf1de00ad15e35ba7812a84.tar.gz
dotfiles-3d4887349318f43dadf1de00ad15e35ba7812a84.tar.bz2
dotfiles-3d4887349318f43dadf1de00ad15e35ba7812a84.zip
Smol formatting changes in vim/
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 2c59186..f97a654 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -19,7 +19,6 @@
" Get the first directory from the list in $VIMRUNTIMEPATH
let $VIMFILES=split(&rtp,",")[0]
set undodir=$VIMFILES/undo
-set viminfofile=$VIMFILES/viminfo
set viewdir=$VIMFILES/view
set directory=$VIMFILES/swap
set viminfofile=$VIMFILES/viminfo
@@ -195,7 +194,7 @@ 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
+" Ref.: https://stackoverflow.com/questions/26214156/how-to-auto-format-json-on-save-in-vim
nnoremap gJ :%!python3 -m json.tool<CR>
" :%!jq .