Merge branch 'master' of github.com:Jab2870/vim

master
Jonathan Hodgson 6 years ago
commit 4ba0474052
  1. 8
      .vimrc

@ -414,6 +414,8 @@ nnoremap <S-Enter> O<Esc>
" Make jj in insert mode go to normal mode " Make jj in insert mode go to normal mode
inoremap jj <Esc> inoremap jj <Esc>
inoremap <C-l> <c-g>u<Esc>[s1z=`]a<c-g>u
" Set double space in insert mode to go to next mark and enter insert mode " Set double space in insert mode to go to next mark and enter insert mode
"inoremap <leader><leader> <Esc>:call NextMark()<cr> "inoremap <leader><leader> <Esc>:call NextMark()<cr>
@ -538,6 +540,12 @@ augroup file_json
autocmd FileType json setlocal foldmethod=syntax foldenable autocmd FileType json setlocal foldmethod=syntax foldenable
augroup END 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 ""set es6 files to javascript {{{2
augroup detectES6 augroup detectES6
autocmd! autocmd!

Loading…
Cancel
Save