diff --git a/.vimrc b/.vimrc index 5b26010..7435f7b 100644 --- a/.vimrc +++ b/.vimrc @@ -414,6 +414,8 @@ nnoremap O " Make jj in insert mode go to normal mode inoremap jj +inoremap u[s1z=`]au + " Set double space in insert mode to go to next mark and enter insert mode "inoremap :call NextMark() @@ -538,6 +540,12 @@ augroup file_json autocmd FileType json setlocal foldmethod=syntax foldenable augroup END +" Make md files use spellcheck{{{2 +augroup file_md + autocmd! + autocmd FileType markdown setlocal spell +augroup END + ""set es6 files to javascript {{{2 augroup detectES6 autocmd!