From 489e9bf88506d29ac667413919f6115505cdf184 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 26 Dec 2022 01:05:51 -0500 Subject: [PATCH] Don't set 'encoding' Vim 8.2.2912 changes the default on Windows, eliminating the primary issue this was intended to fix. Changing 'encoding' can prevent previously defined maps from working, so let's rip this out sooner rather than later. References: https://github.com/tpope/vim-sensible/issues/69 --- plugin/sensible.vim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugin/sensible.vim b/plugin/sensible.vim index 146e99d..89cc38e 100644 --- a/plugin/sensible.vim +++ b/plugin/sensible.vim @@ -50,10 +50,6 @@ if !&sidescrolloff endif set display+=lastline -if &encoding ==# 'latin1' && has('gui_running') - set encoding=utf-8 -endif - if &listchars ==# 'eol:$' set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+ endif