码迷,mamicode.com
首页 > 系统相关 > 详细

gVIM如何换成全英文并用UTF-8格式

时间:2014-11-10 17:10:59      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   ar   os   sp   for   文件   

其实就一句话: 把lang文件夹删除就行了。

写这个随笔还要记录一下自己的GVIM配置,从网上各处找的,然后终于弄成了自己喜欢的样子,抓紧把这个配置保存好。

set nocompatible
behave mswin

set guifont=courier_new:h12
set nu!
set encoding=utf-8
set termencoding=utf-8
set fileencodings=utf-8
set fileencoding=utf-8
set fileformats=unix,dos
set browsedir=buffer
filetype indent on
set autoindent
set smartindent
set backupdir=d:\vim_back_files
set autochdir

set history=1024

let $lang=‘en_us‘

source $vimruntime/vimrc_example.vim
source $vimruntime/mswin.vim
set confirm
set syntax=on
set nocp
set mouse=a
setlocal noswapfile bomb
set laststatus=2
set autoread
colo torte
set statusline=[%n]%<%f%y%h%m%r%=[%b\ 0x%b]\ %l\ of\ %l,%c%v\ page\ %n\ %p

来个效果图:

bubuko.com,布布扣

gVIM如何换成全英文并用UTF-8格式

标签:style   blog   http   color   ar   os   sp   for   文件   

原文地址:http://www.cnblogs.com/kischn/p/4087353.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!