aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-07 12:39:58 +0800
committerGuangxiong Lin <[email protected]>2022-04-07 12:39:58 +0800
commitcb8f83dd1106515a76eeb4d7d87fabbbb98f67ca (patch)
tree50d8fc1f772412526838f15cb22f1172dfb59cc3
parent340e120eedfdf25d1af91688dc0f3f3ca2fa8700 (diff)
downloaddotfiles-cb8f83dd1106515a76eeb4d7d87fabbbb98f67ca.tar.gz
dotfiles-cb8f83dd1106515a76eeb4d7d87fabbbb98f67ca.tar.bz2
dotfiles-cb8f83dd1106515a76eeb4d7d87fabbbb98f67ca.zip
Set encoding in vim
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 960c20a..53c136d 100644
--- a/.vimrc
+++ b/.vimrc
@@ -4,6 +4,7 @@ set nocompatible
set number
set backspace=indent,eol,start
syntax on
+set encoding=utf-8
set fileencodings=ucs=bom,utf-8,utf-16,gbk,big5,gb18030,latin1
set showcmd
set autoread