[问题]新手问一个关于taglist插件错误的问题

Vim、Emacs配置和使用
回复
adiosET
帖子: 3
注册时间: 2006-04-11 9:25

[问题]新手问一个关于taglist插件错误的问题

#1

帖子 adiosET » 2006-04-11 9:32

我在安装好FC5后,下载插件taglist.vim,在.vimrc加了2句
let Tlist_Use_Right_Window = 1
nnoremap <silent> <F7> :Tlist<CR>
使用时出现错误<E117:未定义的函数:s:Tlist_Window_Toggle>
注释了以后,还是有同样的错误,看了taglist的帮助也没有关于这个错误信息
请问该怎么解决啊,先谢谢了
头像
leal
帖子: 1119
注册时间: 2005-08-29 14:49
来自: 杭州
联系:

#2

帖子 leal » 2006-04-11 10:28

哪个版本?
" File: taglist.vim
" Author: Yegappan Lakshmanan (yegappan AT yahoo DOT com)
" Version: 3.4
" Last Modified: August 15, 2004
这个版本 根本就没这个变量
用心×恒 | 豆瓣 | 门户 | Blog
头像
leal
帖子: 1119
注册时间: 2005-08-29 14:49
来自: 杭州
联系:

#3

帖子 leal » 2006-04-11 10:29

let Tlist_Ctags_Cmd = xxxx " location of ctags tool
let Tlist_Sort_Type = "name" " order by
let Tlist_Use_Right_Window = 1 " split to the right side of the screen
let Tlist_Compart_Format = 1 " show small meny
let Tlist_Exist_OnlyWindow = 1 " if you are the last, kill yourself
let Tlist_File_Fold_Auto_Close = 0 " do not close tags for other files
let Tlist_Enable_Fold_Column = 0 " do not show folding tree


map <down> <ESC>:Tlist<RETURN> " down arrow to bring up the taglist


我的配置。
用心×恒 | 豆瓣 | 门户 | Blog
adiosET
帖子: 3
注册时间: 2006-04-11 9:25

#4

帖子 adiosET » 2006-04-11 15:44

我下的是最新的4.0b3,可能有点问题,我换换你的版本看看
adiosET
帖子: 3
注册时间: 2006-04-11 9:25

#5

帖子 adiosET » 2006-04-11 19:08

无语了,3.4版本能正常使用
汗~~~~
hncdsun
帖子: 2
注册时间: 2006-09-16 18:08

#6

帖子 hncdsun » 2006-09-16 18:11

我也遇到了同样的问题

我装了V4.1/V4.0都不行!

装3.4完全没有问题。


000000000
这到底是什么原因啊?
在GOOGLE也搜不到。。
hncdsun
帖子: 2
注册时间: 2006-09-16 18:08

#7

帖子 hncdsun » 2006-09-16 18:15

我是完全按照http://vim.sourceforge.net/scripts/script.php?script_id=273安装的:


install details
1. Download the taglist.zip file and unzip the files to the $HOME/.vim or the
$HOME/vimfiles or the $VIM/vimfiles directory. After this step, you should
have the following two files (the directory structure should be preserved):

plugin/taglist.vim - main taglist plugin file
doc/taglist.txt - documentation (help) file

Refer to the |add-plugin|, |add-global-plugin| and |runtimepath| Vim
help pages for more details about installing Vim plugins.
2. Change to the $HOME/.vim/doc or $HOME/vimfiles/doc or $VIM/doc/vimfiles
directory, start Vim and run the ":helptags ." command to process the
taglist help file. Without this step, you cannot jump to the taglist help
topics.
3. If the exuberant ctags utility is not present in your PATH, then set the
Tlist_Ctags_Cmd variable to point to the location of the exuberant ctags
utility (not to the directory) in the .vimrc file.
4. If you are running a terminal/console version of Vim and the terminal
doesn't support changing the window width then set the
'Tlist_Inc_Winwidth' variable to 0 in the .vimrc file.
5. Restart Vim.
6. You can now use the ":TlistToggle" command to open/close the taglist
window. You can use the ":help taglist" command to get more information
about using the taglist plugin.
回复