From: Jannik Zander <59698@grundfos.com> Date: Fri, 13 Jul 2018 07:40:30 +0000 (+0200) Subject: Vim encoding problem X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=86a5355ad2d7a546b6bf68220f3deb014921a6db;p=dotfiles.git Vim encoding problem --- diff --git a/.vim/gvimrc b/.vim/gvimrc index 49e9160..66b16b3 100644 --- a/.vim/gvimrc +++ b/.vim/gvimrc @@ -1,6 +1,13 @@ " Use :help 'option' to see the documentation for the given option. +" gui +set guioptions+=a +set guioptions-=m "no menu bar +set guioptions-=T "no toolbar +set guioptions-=r "no scroolbar +set noguipty + " mouse set mousehide set mouse=a @@ -10,13 +17,6 @@ set mousemodel=popup map map! -" gui -set guioptions+=a -set guioptions-=m "no menu bar -set guioptions-=T "no toolbar -set guioptions-=r "no scroolbar -set noguipty - " colors highlight normal guibg=black guifg=white highlight linenr guifg=grey diff --git a/.vim/vimrc b/.vim/vimrc index 875ce5f..92928f8 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -88,7 +88,7 @@ if has("win32") endif set fileformats=unix,dos,mac set fileignorecase -set encoding=utf-8 +"set encoding=utf-8 " colors set t_Co=256 @@ -99,7 +99,7 @@ highlight linenr ctermfg=grey " fonts set list if has('multi_byte') && &encoding ==# 'utf-8' - let &listchars = 'tab:▸ ,extends:❯,precedes:❮,nbsp:±' + let &listchars = 'tab:▸ ,extends:❯,precedes:❮,nbsp:±' else let &listchars = 'tab:> ,extends:>,precedes:<,nbsp:.' endif