mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
add support for putty utf-8 terms
This commit is contained in:
parent
0b5ca7aa48
commit
09c68edea1
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
@ -7,7 +7,7 @@ if has ('multi_byte') " Make sure we have unicode support
|
|||
scriptencoding utf-8 " This file is in UTF-8
|
||||
|
||||
" ---- Terminal Setup ----
|
||||
if (&termencoding == "" && &term =~ "xterm") || (&term =~ "rxvt-unicode")
|
||||
if (&termencoding == "" && (&term =~ "xterm" || &term =~ "putty")) || (&term =~ "rxvt-unicode")
|
||||
set termencoding=utf-8
|
||||
endif
|
||||
set encoding=utf-8 " Default encoding should always be UTF-8
|
||||
|
|
Loading…
Add table
Reference in a new issue