求救为什么我使用了公社的美化包之后gvim 删除中文是删除半
我的系统是rh80, gvim是默认的vim6.1其他的一切都正常,
在我的vimrc文件中也设置了:
set fileencodings=prc
set guifontset=-*-*-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0
set fileencodings=gb2312
set guifontset=-*-simsun-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0
.................. 好多种组合都试过了,就是不行。
哪位大侠帮帮我 是不是gvim6.1特有的问题呀,以前用5.8的时候没有这种现象呀???
在xterm中使用中文也很正常!
谁指导怎么解决!!! 估计是gvim的问题 我刚用RH80不知道有这种问题,我还以为是我设置的问题?
不知兄弟们的gvim6.1是不是都有这种现象?? http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&p=3768562#3768562 这是我的gvimrc,特别注意第二行,加上后就不会再有半个汉字的现象了:)
set fileencodings=gb2312
set encoding=euc-cn
~~~~~~~~~~~~~~~~~
set guifontset=-sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1,-misc-simsun-medium-r-normal--16-*
set ch=2 " Make command line two lines high
set mousehide " Hide the mouse when typing text
" Make shift-insert work like in Xterm
map <S-Insert> <MiddleMouse>
map! <S-Insert> <MiddleMouse>
" Only do this for Vim version 5.0 and later.
if version >= 500
" I like highlighting strings inside C comments
let c_comment_strings=1
" Switch on syntax highlighting if it wasn't on yet.
if !exists("syntax_on")
syntax on
endif
" Switch on search pattern highlighting.
set hlsearch
" For Win32 version, have "K" lookup the keyword in a help file
"if has("win32")
"let winhelpfile='windows.hlp'
"map K :execute "!start winhlp32 -k <cword> " . winhelpfile <CR>
"endif
" Set nice colors
" background for normal text is light grey
" Text below the last line is darker grey
" Cursor is green, Cyan when ":lmap" mappings are active
" Constants are not underlined but have a slightly lighter background
" highlight Normal guibg=grey90
" highlight Cursor guibg=Green guifg=NONE
"highlight lCursor guibg=Cyan guifg=NONE
"highlight NonText guibg=grey80
"highlight Constant gui=NONE guibg=grey95
"highlight Special gui=NONE guibg=grey95
colorscheme murphy
endif 好不错,果然没有问题了.
页:
[1]