From 09cb77742c809370d2f629cb0e00c76cc43757bc Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 10 Feb 2017 16:47:47 -0500 Subject: [PATCH] Replace some UTF-8 characters with ASCII ones for compatibility reasons --- vim/config/plugins.vim | 6 +++--- vim/config/settings.vim | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vim/config/plugins.vim b/vim/config/plugins.vim index 953e69b..3dbf161 100644 --- a/vim/config/plugins.vim +++ b/vim/config/plugins.vim @@ -365,11 +365,11 @@ scriptencoding utf-8 let g:vimfiler_force_overwrite_statusline = 0 function! LLModified() - return &ft =~ 'help' ? '' : &modified ? '๐Ÿ’พ' : &modifiable ? '' : '-' + return &ft =~ 'help' ? '' : &modified ? '*' : &modifiable ? '' : '-' endfunction function! LLReadonly() - return &ft !~? 'help' && &readonly ? '๐Ÿ”' : '' + return &ft !~? 'help' && &readonly ? '[RO]' : '' endfunction function! LLFilename() @@ -382,7 +382,7 @@ scriptencoding utf-8 \ &ft == 'qf' ? '[Error/Location List]' : \ &ft == 'extradite' ? '[Commit History]' : \ ('' != LLReadonly() ? LLReadonly() . ' ' : '') . - \ ('' != fname ? fname : '๐Ÿ“„') . + \ ('' != fname ? fname : '[NEW]') . \ ('' != LLModified() ? ' ' . LLModified() : '') endfunction diff --git a/vim/config/settings.vim b/vim/config/settings.vim index 55f24d8..649bc15 100644 --- a/vim/config/settings.vim +++ b/vim/config/settings.vim @@ -69,7 +69,7 @@ set visualbell "notify visually instead of with an audible bell set splitright "add new tiles on the right (and not left) when added set scrolloff=0 sidescrolloff=0 "start scrolling if the cursor is one position away from the edge - set list listchars=tab:\โ”†ยท,trail:- "display tabs as: >-- and trailing spaces as: - + set list listchars=tab:>-,trail:- "display tabs as: >--- and trailing spaces as: - set showmatch "show matching open bracket when closed bracket is inserted set matchtime=5 "the amount of time before the matching bracket will highlight let &showbreak="" "character to prepend to wrapped lines when linewrapping is enabled