From 38fea1c9356d46cc285f67c9f8e7bc3ba39fc0be Mon Sep 17 00:00:00 2001 From: Ryan Dlugosz Date: Tue, 16 Jul 2013 10:13:58 -0400 Subject: [PATCH] Remove unicode listchars to fix #57 As discussed in Issue #57, setting Unicode characters for `listchars` is a problematic default because of the scrolling performance impact incurred when one of the specified glyphs is missing from the user's selected font. An alternative approach would be to choose "safer" unicode characters that are likely to exist in most fonts. Given that the purpose of vim-sensible is to provide universal sane defaults it seems this would be best left to the user's `.vimrc` or another plugin. --- plugin/sensible.vim | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugin/sensible.vim b/plugin/sensible.vim index cef8500..614fe0e 100644 --- a/plugin/sensible.vim +++ b/plugin/sensible.vim @@ -53,9 +53,6 @@ endif if &listchars ==# 'eol:$' set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+ - if !has('win32') && (&termencoding ==# 'utf-8' || &encoding ==# 'utf-8') - let &listchars = "tab:\u21e5 ,trail:\u2423,extends:\u21c9,precedes:\u21c7,nbsp:\u00b7" - endif endif if &shell =~# 'fish$'