QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1287|回复: 6

求救为什么我使用了公社的美化包之后gvim 删除中文是删除半

[复制链接]
发表于 2003-3-22 22:23:17 | 显示全部楼层 |阅读模式
我的系统是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
.................. 好多种组合都试过了,就是不行。

哪位大侠帮帮我
 楼主| 发表于 2003-3-23 00:56:57 | 显示全部楼层
是不是gvim6.1特有的问题呀,以前用5.8的时候没有这种现象呀???
在xterm中使用中文也很正常!

谁指导怎么解决!!!
回复

使用道具 举报

发表于 2003-3-23 01:06:08 | 显示全部楼层
估计是gvim的问题
回复

使用道具 举报

 楼主| 发表于 2003-3-23 01:18:40 | 显示全部楼层
我刚用RH80不知道有这种问题,我还以为是我设置的问题?
不知兄弟们的gvim6.1是不是都有这种现象??
回复

使用道具 举报

发表于 2003-5-22 18:42:56 | 显示全部楼层
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&p=3768562#3768562
回复

使用道具 举报

发表于 2003-5-22 20:22:47 | 显示全部楼层
这是我的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
回复

使用道具 举报

发表于 2003-5-24 03:18:41 | 显示全部楼层
好不错,果然没有问题了.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-21 00:24 , Processed in 0.081470 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表