vimrc: set encoding early

This commit is contained in:
leo 2023-04-26 14:00:46 +02:00
parent 3676b88491
commit b083ce65d4
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

View File

@ -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