Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set expandtab
- set number
- set shiftwidth=4
- set softtabstop=4
- set cindent
- set cinoptions=(0
- " Allow tabs in Makefiles.
- autocmd FileType make,automake set noexpandtab shiftwidth=8 softtabstop=8
- " Trailing whitespace and tabs are forbidden, so highlight them.
- highlight ForbiddenWhitespace ctermbg=red guibg=red
- match ForbiddenWhitespace /\s\+$\|\t/
- " Do not highlight spaces at the end of line while typing on that line.
- autocmd InsertEnter * match ForbiddenWhitespace /\t\|\s\+\%#\@<!$/
- "curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- ":PlugInstall (1 time command!)
- call plug#begin('~/.vim/plugged')
- Plug 'neomake/neomake'
- call plug#end()
- call neomake#configure#automake('nrwi', 500)
Advertisement
Add Comment
Please, Sign In to add comment