QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 913|回复: 3

VIM的vicdoc(就是中文帮助)怎么用啊?

[复制链接]
发表于 2005-7-26 17:57:13 | 显示全部楼层 |阅读模式
装上后,敲入:help还是英文的啊?
怎么才能显示中文的帮助呢??
发表于 2005-7-27 00:17:59 | 显示全部楼层
locale, font都设了吗?
回复

使用道具 举报

发表于 2005-8-4 17:14:39 | 显示全部楼层
me,too.我也是。
回复

使用道具 举报

发表于 2005-8-4 20:45:01 | 显示全部楼层
这是我的/etc/vimrc文件
if v:lang =~ "utf8$" || v:lang =~ "UTF-8$"
   set fileencodings=utf-8,latin1
endif
set rtp+=/usr/share/vim/vimfiles
if version > 603
set helplang cn
endif

set nocompatible        " Use Vim defaults (much better!)
set bs=2                " allow backspacing over everything in insert mode
"set ai                 " always set autoindenting on
"set backup             " keep a backup file
set viminfo='20,\"50    " read/write a .viminfo file, don't store more
                        " than 50 lines of registers
set history=50          " keep 50 lines of command line history
set ruler               " show the cursor position all the time

" Only do this part when compiled with support for autocommands
if has("autocmd")
  " In text files, always limit the width of text to 78 characters
  autocmd BufRead *.txt set tw=78
  " When editing a file, always jump to the last cursor position
  autocmd BufReadPost *
  \ if line("'\"") > 0 && line ("'\"") <= line("$") |
  \   exe "normal! g'\"" |
  \ endif
endif

if has("cscope")
   set csprg=/usr/bin/cscope
   set csto=0
   set cst
   set nocsverb
   " add any database in current directory
   if filereadable("cscope.out")
      cs add cscope.out
   " else add database pointed to by environment
   elseif $CSCOPE_DB != ""
      cs add $CSCOPE_DB
   endif
   set csverb
endif
你对比一下你的.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-5 15:48 , Processed in 0.054756 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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