Add option to show trailing whitespace and CRLF endings. Remove boilerplate header from template config

This commit is contained in:
David Thurstenson 2017-03-28 08:30:43 -05:00
parent e395b46a4b
commit ddcfcbd113
1 changed files with 8 additions and 11 deletions

19
.vimrc
View File

@ -1,14 +1,3 @@
" An example for a vimrc file.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last change: 2015 Mar 24
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
" for Amiga: s:.vimrc
" for MS-DOS and Win32: $VIM\_vimrc
" for OpenVMS: sys$login:.vimrc
" When started as "evim", evim.vim will already have done these settings. " When started as "evim", evim.vim will already have done these settings.
if v:progname =~? "evim" if v:progname =~? "evim"
finish finish
@ -117,3 +106,11 @@ let g:vimwiki_list = [{
\ 'template_path': '$HOME/vimwiki/html-template', \ 'template_path': '$HOME/vimwiki/html-template',
\ 'template_default': 'index', \ 'template_default': 'index',
\ 'template_ext': '.html'}] \ 'template_ext': '.html'}]
" Show trailing whitespace
let c_space_errors = 1
" Only use unix mode, and show DOS line endings as ^M
" This can be disabled with :e ++ff=dos
set fileformats=unix