SrcExpl 插件实现自动显示跳转函数及变量定义功能
2014-11-15 17:51
726 查看
在.vim/bundle目录下,执行
git clone https://github.com/wesleyche/SrcExpl.git
并在.vimrc中添加
""""""""""""""""""""for SourceExplorer plugin""""""""""""""""""""""""".
"{
" // The switch of the Source Explorer
nmap se :SrcExplToggle<CR>
" // Set the height of Source Explorer window
let g:SrcExpl_winHeight = 6
" // Set 100 ms for refreshing the Source Explorer
let g:SrcExpl_refreshTime = 100
" // Set "Enter" key to jump into the exact definition context
let g:SrcExpl_jumpKey = "<ENTER>"
" // Set "Space" key for back from the definition context
let g:SrcExpl_gobackKey = "<SPACE>"
" // In order to avoid conflicts, the Source Explorer should know what plugins
" // except itself are using buffers. And you need add their buffer names into
" // below listaccording to the command ":buffers!"
"let g:SrcExpl_pluginList = [
" \ "__Tag_List__",
" \ "_NERD_tree_"
" \ ]
" // Enable/Disable the local definition searching, and note that this is not
" // guaranteed to work, the Source Explorer doesn't check the syntax for now.
" // It only searches for a match with the keyword according to command 'gd'
let g:SrcExpl_searchLocalDef = 1
" // Do not let the Source Explorer update the tags file when opening
let g:SrcExpl_isUpdateTags = 0
" // Use 'Exuberant Ctags' with '--sort=foldcase -R .' or '-L cscope.files' to
" // create/update the tags file
let g:SrcExpl_updateTagsCmd = "ctags --sort=foldcase -R ."
" // Set "<F12>" key for updating the tags file artificially
let g:SrcExpl_updateTagsKey = "<F12>"
" // Set "<F10>" key for displaying the previous definition in the jump list
let g:SrcExpl_prevDefKey = "<F10>"
" // Set "<F11>" key for displaying the next definition in the jump list
let g:SrcExpl_nextDefKey = "<F11>"
"}
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
git clone https://github.com/wesleyche/SrcExpl.git
并在.vimrc中添加
""""""""""""""""""""for SourceExplorer plugin""""""""""""""""""""""""".
"{
" // The switch of the Source Explorer
nmap se :SrcExplToggle<CR>
" // Set the height of Source Explorer window
let g:SrcExpl_winHeight = 6
" // Set 100 ms for refreshing the Source Explorer
let g:SrcExpl_refreshTime = 100
" // Set "Enter" key to jump into the exact definition context
let g:SrcExpl_jumpKey = "<ENTER>"
" // Set "Space" key for back from the definition context
let g:SrcExpl_gobackKey = "<SPACE>"
" // In order to avoid conflicts, the Source Explorer should know what plugins
" // except itself are using buffers. And you need add their buffer names into
" // below listaccording to the command ":buffers!"
"let g:SrcExpl_pluginList = [
" \ "__Tag_List__",
" \ "_NERD_tree_"
" \ ]
" // Enable/Disable the local definition searching, and note that this is not
" // guaranteed to work, the Source Explorer doesn't check the syntax for now.
" // It only searches for a match with the keyword according to command 'gd'
let g:SrcExpl_searchLocalDef = 1
" // Do not let the Source Explorer update the tags file when opening
let g:SrcExpl_isUpdateTags = 0
" // Use 'Exuberant Ctags' with '--sort=foldcase -R .' or '-L cscope.files' to
" // create/update the tags file
let g:SrcExpl_updateTagsCmd = "ctags --sort=foldcase -R ."
" // Set "<F12>" key for updating the tags file artificially
let g:SrcExpl_updateTagsKey = "<F12>"
" // Set "<F10>" key for displaying the previous definition in the jump list
let g:SrcExpl_prevDefKey = "<F10>"
" // Set "<F11>" key for displaying the next definition in the jump list
let g:SrcExpl_nextDefKey = "<F11>"
"}
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
相关文章推荐
- vim安装SrcExpl 插件,实现自动显示跳转函数及变量定义功能
- QuickXDev增强功能:用户自定义变量、函数自动完成提示及转到定义
- C++学习 【4.5】 利用函数实现指定的功能---局部变量、全局变量、变量的存储类别、声明和定义
- 在编辑状态下变量或函数不能显示提示时如何打开提示功能(或编程助手)
- 自动提示功能+分页显示+grails实现
- 实现C++console显示数据表格的功能函数
- 写了一个将VxWorks的shell打印输出到指定内存中的接口,可广泛用于CLI下的调试函数显示以及故障自动捕获等功能,稍作修改可以适合其它嵌入式OS
- Asp.Net 中实现DataGrid指定列的自动累加,汇总,显示合计列功能
- C#--第四周实验--任务3--定义一个人员类Cperson,在此基础上派生出学生类CStudent和教师类CTeacher,实现输入输出功能的成员函数。
- 改写vim配置文件vimrc来实现显示行号,语法高亮,自动缩进功能
- Linux实现函数和全局变量的#ifdef功能
- Eclipse代码助手插件开发(CDT)-Part2:函数声明及定义实现
- 写一个HTML页面,实现以下功能,左键点击页面时显示“您好”,右键点击时显示“禁止右键”。并在2秒钟后自动关闭页面
- 实现5秒钟后页面自动跳转功能
- Ubuntu下改写vim配置文件vimrc来实现显示行号,语法高亮,自动缩进功能
- jquery+ashx无刷新GridView数据显示插件(实现分页、排序、过滤功能)
- 使用vim开发php,tag实现类 函数 变量跳转
- 程序员面试宝典之—— 定义的宏实现的功能是:查找结构体某变量的偏移量。
- Ubuntu下改写vim配置文件 vimrc来实现显示行号,语法高亮,自动缩进功能