aboutsummaryrefslogtreecommitdiff
path: root/base/vimrc
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2020-06-13 20:46:06 -0600
committerAdam Hovorka <[email protected]>2020-06-13 20:46:06 -0600
commitafb5d623425c2b4378daf8e51efaf2ff997efeb7 (patch)
tree0c015bd99e3e89248d56a7ea0f601a08c502838b /base/vimrc
parent502622f2a2cfe77ffc29ca7fb4629a9bab233ee4 (diff)
Make folds in JSON files open by default
Finally, geez
Diffstat (limited to 'base/vimrc')
-rw-r--r--base/vimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/base/vimrc b/base/vimrc
index 9bc3a54..7351a3a 100644
--- a/base/vimrc
+++ b/base/vimrc
@@ -184,8 +184,8 @@ vnoremap Q gq
nnoremap Q gqap
"cnoremap w!! %!sudo tee % >/dev/null
-cnoremap <c-n> <down>
-cnoremap <c-p> <up>
+cnoremap <c-n> <down>
+cnoremap <c-p> <up>
nnoremap <leader>qr :.!qrencode -t UTF8<CR>
vnoremap <leader>qr !qrencode -t UTF8<CR>
@@ -274,4 +274,5 @@ au BufNewFile,BufRead *.less set filetype=less
autocmd! BufWritePost $MYVIMRC source $MYVIMRC
autocmd! BufRead,BufNewFile *.md set filetype=markdown
autocmd! BufRead,BufNewFile *.md set spell
+autocmd Syntax json normal zR
packadd! matchit