Przeglądaj źródła

~/.vimrc: Fix some encoding problems

I _think_ this was for when editing weird files, but I don't really
know.
Lu Stadler 7 lat temu
rodzic
commit
07f8272990
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      .vimrc

+ 3 - 2
.vimrc

74
" Don't let me further than 1 line towards the end or the beginning.
74
" Don't let me further than 1 line towards the end or the beginning.
75
set scrolloff=1
75
set scrolloff=1
76
76
77
set fileencodings=utf-8
78
set encoding=utf-8
79
77
" Show whitespace
80
" Show whitespace
78
set list
81
set list
79
set listchars=tab:→\ ,trail:·,eol:¬
82
set listchars=tab:→\ ,trail:·,eol:¬
80
"highlight SpecialKey ctermfg=10 ctermbg=8
83
"highlight SpecialKey ctermfg=10 ctermbg=8
81
"highlight NonText ctermfg=10 ctermbg=8
84
"highlight NonText ctermfg=10 ctermbg=8
82
85
83
set fileencodings=utf-8
84
85
" Automatically reread the file if it has been changed from the outside
86
" Automatically reread the file if it has been changed from the outside
86
set autoread
87
set autoread
87
88