X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=bf94896e63485c3890fff7a26eb902392222bac9;hb=669c65e2be773dc0138879774637b2a6830b2ca6;hp=2bb1cafde603b8b967a338ac3750fd65241f4bc5;hpb=64a563e47e29c1f21bc03b8088e994da26afce04;p=config%2Fdotfiles.git 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