From: Simon Ruderich Date: Mon, 8 Jun 2009 14:01:59 +0000 (+0200) Subject: vimrc: Recognize latin1 encoded files. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=ed477ab1941771cf9a96ab54d7f8fea9ba05ac94;p=config%2Fdotfiles.git vimrc: Recognize latin1 encoded files. --- diff --git a/vimrc b/vimrc index 8b44898..b200fa4 100644 --- a/vimrc +++ b/vimrc @@ -32,8 +32,9 @@ if has('autocmd') filetype plugin indent on endif -" Use UTF-8 file encoding for all files. -set fileencodings=utf-8 +" Use UTF-8 file encoding for all files. Automatically recognize latin1 in +" existing files. +set fileencodings=utf-8,latin1 " Wrap text after 78 characters. set textwidth=78