incfiles.vim : create menu entries for each include file in a C/C++ file
script karma |
Rating 2/2,
Downloaded by 1094 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
thomas ramming |
|
script type |
utility |
|
description |
This script generates menu entries for each include file within the actual edited C/C++ file.
After executing it, you can enter any of the include files by selecting them via menu.
The script is just quick and (hope not very) dirty written, but working (only short tests up to now)
under GVIM 5.8, NT4.0, Novell network
|
|
install details |
- create menu entry for include file (to enter it) within C/C++ files
- adds menu entries under main menu 'Proj'
e.g. enter ':% call CreateIncFileMenu()' within your C/C++ file.
Then you can enter any include file by selecting it in the menu.
Create a menu entry in your _gvimrc to source in and call this script:
($VIM_SYNTAX must contain the path to this script file)
'menu 12.10 Proj.Add\ include\ files :so $VIM_SYNTAX/incfiles.vim<CR>:% call CreateIncFileMenu()<CR>'
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.145.80.205
|