From: Simon Ruderich Date: Tue, 3 Jan 2012 13:15:41 +0000 (+0100) Subject: vimrc: Use UTF-8 for all internal data. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=669c65e2be773dc0138879774637b2a6830b2ca6;p=config%2Fdotfiles.git vimrc: Use UTF-8 for all internal data. --- diff --git a/vimrc b/vimrc index 2bb1caf..bf94896 100644 --- a/vimrc +++ b/vimrc @@ -25,6 +25,10 @@ endif " Make sure Vim (and not Vi) settings are used. set nocompatible +" Use UTF-8 for all internal data (buffers, registers, etc.). This doesn't +" affect reading files in different encodings, see 'fileencodings' for that. +set encoding=utf-8 + " Load my scripts from ~/.vim (my scripts) and ~/.vim/runtime (checkout of Vim " runtime files) if available. set runtimepath-=~/.vim