mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-25 20:22:44 +01:00
vimrc: show invisible chars & prefer to unix line endings & use utf-8 & nobomb.
This commit is contained in:
parent
30d9682828
commit
c4624848d1
14
vimrc
14
vimrc
@ -71,3 +71,17 @@ set visualbell
|
||||
if has('gui_running')
|
||||
set background=light
|
||||
endif
|
||||
|
||||
" Show hidden characters via http://www.perturb.org/display/679_Make_Vim_show_hidden_characters.html
|
||||
set invlist
|
||||
|
||||
"Prefer to UNIX line endings, but understand DOS too.
|
||||
set fileformats=unix,dos
|
||||
|
||||
"Use UTF-8!
|
||||
set encoding=utf-8
|
||||
set fileencoding=utf-8
|
||||
|
||||
" Remove BOMs. They broke things yesterday nd now they wasted my time
|
||||
" at school! via http://techwelkin.com/how-to-remove-byte-order-mark-bom-characters
|
||||
set nobomb
|
||||
|
Loading…
Reference in New Issue
Block a user