-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path0080 - files2menu.pm.json
27 lines (27 loc) · 2.19 KB
/
0080 - files2menu.pm.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"script_id": "80",
"display_name": "files2menu.pm",
"summary": "add all files recursively as menu entry",
"name": "files2menu.pm",
"script_type": "utility",
"description": "DESCR finds files according to predefined file masks in all subdirs starting in parent dir (default).\n\tcreates menu commands for gvim for each file found (creates submenues automatically after 40 menu entries).\n\tfilemasks and other settings may be easily changed within the perl script for your needs.\n\n\tUsage: \tfiles2menu.pm <options>\n\toptions:\n\t \tgenerate file list on stdout (default)\n\t -o <filelist> \tgenerate filelist in file <filelist>\n\t -v \tgenerate VIM scriptfile\n\t -v <scriptfile> \tgenerate VIM Scriptfile <scriptfile>\n\t -f <patternlist> \tuse search pattern <patternlist>\n\t\t predefined pattern lists: CPP, EXE, MAK, GL, DOC, VIM\n\t -m \tcreate menu entry <menuEntry> for each found file (blanks allowed in name)\n\t -c \tcreate submenu after <n> entries\n\t -d \tdebug mode\n\t -s <startdir> \tstart in CWD (default) or parent dir ('..') or <startdir>\n\n\nI used 'ls' because any other tools had trouble with that genious system of long file names under Windows and Novell.",
"install_details": "Add a line like the following to your _gvimrc. You will get a menu entry which creates new submenues\nwith an entry for each C/C++ file found in all paralell directories and below.\n\n'menu 12.10 Proj.Add\\ source\\ files\\ recursiv\t\t:exec(\"!perl \".$VIMRUNTIME.\"/syntax/files2Menu.pm -f CPP\")<CR>:so! files.vim<CR>'\n\nIt works fine with Perl (Version 5005_3), ls (GNU fileutils) 3.16 and gvim 5.8\n\n",
"versions": [
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=156",
"filename": "files2menu.pm",
"script_version": "1.0",
"date": "2001-09-05",
"vim_version": "5.7",
"author": {
"user_id": "209",
"user_name": "ramming",
"first_name": "thomas",
"last_name": "ramming",
"email": "[email protected]",
"homepage": ""
},
"release_notes": "Initial upload"
}
]
}