From 09c68edea18c76c8daea8f17ed145480723cf75d Mon Sep 17 00:00:00 2001 From: David Alexander Majnemer Date: Fri, 23 Jan 2009 15:14:50 -0600 Subject: [PATCH] add support for putty utf-8 terms --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 48835e0..03b4c05 100644 --- a/vimrc +++ b/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