18
A
回答
17
据:help tag-binary-search
,标签是二进制文件(或线性)搜索各个查找,所以没有必要重新加载该文件:
*tag-binary-search*
Vim uses binary searching in the tags file to find the desired tag quickly
(when enabled at compile time |+tag_binary|). But this only works if the
tags file was sorted on ASCII byte value. Therefore, if no match was found,
another try is done with a linear search. If you only want the linear search,
reset the 'tagbsearch' option. Or better: Sort the tags file!
Note that the binary searching is disabled when not looking for a tag with a
specific name. This happens when ignoring case and when a regular expression
is used that doesn't start with a fixed string. Tag searching can be a lot
slower then. The former can be avoided by case-fold sorting the tags file.
See 'tagbsearch' for details.
4
据我所知,没有必要Vim 7.3一旦生成就使用tags
文件。
0
我觉得它有助于只加载在另一个标签文件缓冲器/标签。然后,我可以使用:e!
重新加载该缓冲区,让vim查看我的标记更新。
相关问题
- 1. 如何让Emacs自动重新加载标签文件?
- 2. 码头 - 重新加载标签文件在罐子里
- 3. Vim自动加载所有标签文件
- 4. 重新加载所有标签
- 5. 重新加载所选标签在IE
- 6. 更新标签文本而不用重新加载整个表
- 7. 标签栏,每次按下标签时都会重新加载
- 8. 在uitableview的标签中重新加载文本
- 9. 如何重新加载jquery easyui插件中的标签?
- 10. C#加载文件按钮标签
- 11. 如何找到Vim的标签文件
- 12. vim的objective-c标签文件
- 13. iOS - 点击标签图标时重新加载UIView?
- 14. 重新加载/刷新ViewController中的标签栏项目?
- 15. 使用javascript打开新标签页并重新加载父页
- 16. 如何搜索标签文件并自动加载它,当VIM启动
- 17. 在文件后加载Vim插件
- 18. 刷新/重载div标签MVC
- 19. 如何重新加载JavaScript文件
- 20. 重新加载.NET配置文件
- 21. Chrome扩展background.js文件重新加载
- 22. 重新加载emacs中的Clojure文件
- 23. 停止IIS重新加载Web.Config文件
- 24. swipl:如何重新加载文件
- 25. NGINX不重新加载配置文件
- 26. 自动重新加载模板文件
- 27. 重新加载Java Applet重新加载
- 28. 重新加载div重新加载XML
- 29. 重新加载不重新加载
- 30. 重定向父页面加载标签
无需重新加载它,vim不会将它保存在内存中。每次您要查找标签时,它都会对文件执行一些二进制搜索。 – Benoit 2011-01-28 15:26:45
几天之前,我必须做Vim重新启动才能使新的`tags`文件生效。 Vim版本:`7.2` – 2012-04-08 06:50:51