From b083ce65d4e1f6c4b2aaee420f85bdc56c1e98c0 Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 26 Apr 2023 14:00:46 +0200 Subject: [PATCH] vimrc: set encoding early --- .vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vim/vimrc b/.vim/vimrc index 1755890..3cdbd5b 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -3,6 +3,7 @@ " not necessary, as vim will turn this on by default, when .vimrc is found " set nocompatible +set encoding=utf-8 " important for powerline besides others scriptencoding=utf8 filetype off "required @@ -1232,7 +1233,6 @@ set viminfo='100,"100,:20,% " '=marks for x files, "=registers for x f set foldmethod=manual " manual folding -set encoding=utf-8 " important for powerline besides others set fileencoding=utf-8 " set encoding for newly saved files set noscrollbind set cmdheight=2 " lines under {status,air}line