|
@@ -5,15 +5,14 @@ augroup auto_spellcheck
|
|
autocmd BufNewFile,BufRead *.md setlocal spell
|
|
autocmd BufNewFile,BufRead *.md setlocal spell
|
|
augroup END
|
|
augroup END
|
|
|
|
|
|
-function! OpenLiveServer()
|
|
|
|
- echo 'live server is on'
|
|
|
|
- silent !live-server % &
|
|
|
|
-endfunction
|
|
|
|
|
|
+" function! OpenLiveServer()
|
|
|
|
+" echo 'live server is on'
|
|
|
|
+" silent !live-server % &
|
|
|
|
+" endfunction
|
|
|
|
|
|
command Serve :call OpenLiveServer()
|
|
command Serve :call OpenLiveServer()
|
|
nnoremap <silent>bs :call OpenLiveServer()<CR>
|
|
nnoremap <silent>bs :call OpenLiveServer()<CR>
|
|
|
|
|
|
-" Remove trailing whitespaces automatically before save
|
|
|
|
" augroup strip_ws
|
|
" augroup strip_ws
|
|
" autocmd BufWritePre * call utils#stripTrailingWhitespaces()
|
|
" autocmd BufWritePre * call utils#stripTrailingWhitespaces()
|
|
" augroup END
|
|
" augroup END
|