diff options
-rw-r--r-- | base/vim/ftplugin/json.vim | 1 | ||||
-rw-r--r-- | base/vimrc | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/base/vim/ftplugin/json.vim b/base/vim/ftplugin/json.vim index 1ae1b99..811edb3 100644 --- a/base/vim/ftplugin/json.vim +++ b/base/vim/ftplugin/json.vim @@ -30,4 +30,3 @@ if has('conceal') endif setlocal foldmethod=syntax -normal zR @@ -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 |