-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path0014 - htmlcmd.vim.json
More file actions
91 lines (91 loc) · 5.49 KB
/
0014 - htmlcmd.vim.json
File metadata and controls
91 lines (91 loc) · 5.49 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"script_id": "14",
"display_name": "htmlcmd.vim",
"summary": "Rich HTML/XML commands",
"name": "htmlcmd.vim",
"script_type": "utility",
"description": "This script handles a number of mundane tasks in HTML / XML. It allows you to create a default HTML header (Alt+0), to define headings <h1> .. <h6> (Alt+1.. Alt+6), to toggle bold, italic, underline, paragraphs & kbd commands. It gives shortcuts for ordered/unordered lists and row definitions. \n\nThe script has commands to insert horizontal rules, line-breaks, and a number of special symbols (just email me to add your favourite). \n\nIt has imap mappings that give you ampersands (&&), smart-quotes (single - &' and double &\"), <, > symbols, and more. It allow you to insert these and text descriptors or as numbers (for strict XML)\n\nYou can close the next open tag (alt-;) or close all open tags at that point (alt->). \nNot you may need to remap these for other platforms.\n\n\nIf you have defined 'htmlcmd_AUTOCLOSE' then there is some reasonably intrusive code that will close open tags: \ntry typing this\n<p>Testing<b>bold</p>\n\nThis should automatically close the <b>\n\nYou can also generate a quick Table Of Contents for your document based on <H1>..<H6> headings. There is a menu item to insert it.. and any options you give \nare remembered for when you re-generate the TOC. \n\nGenerateTOC( [<headingtypes>| * ]) \n:GenTOC [<headingtypes>| * ]\n\nThe optional argument is a string of types for each indent level. Eg. \" 1ai.\" would mean level 1 is default (bullet), level 2 is a numbered list, level 3 has letters and level three has roman numerals. \nIt uses references where it can find them, and generates new ones where it can't.\nThe arguments supplied are remembered so the TOC can be regenerated without resuplying them.\nIf * is supplied as an argument, the script prompts for arguments - showing what the current values are.\n\nWhen used with buffermenu.vim - Menus (for TOC generation) are local to the buffer.\n",
"install_details": "Use as a filetype plugin (tip - make a directory ftplugin/html and place it in there)\nThe menu can also work with buffermenu.vim.\n\nBy using buffoptions, this should work with version 5.7 and greater as the 6.0 specific plugin-style codes are stripped in the latest version of buffoptions.\n\n",
"versions": [
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1165",
"filename": "htmlcmd.vim",
"script_version": "2.5",
"date": "2002-08-26",
"vim_version": "6.0",
"author": {
"user_id": "14",
"user_name": "mgeddes",
"first_name": "Michael",
"last_name": "Geddes",
"email": "vimmer@frog.wheelycreek.net",
"homepage": ""
},
"release_notes": "Added more menus - made them useful for detaching, and able to\ncustomise the name.\n"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=752",
"filename": "htmlcmd.vim",
"script_version": "2.4",
"date": "2002-04-03",
"vim_version": "6.0",
"author": {
"user_id": "14",
"user_name": "mgeddes",
"first_name": "Michael",
"last_name": "Geddes",
"email": "vimmer@frog.wheelycreek.net",
"homepage": ""
},
"release_notes": "Command :GenTOC added (calls GenerateTOC)\nThis now remembers the arguments supplied so the TOC can be regenerated without resuplying them.\nAlso supports * as an argument - providing a Prompt for arguments - showing what the current values are."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=698",
"filename": "htmlcmd.vim",
"script_version": "2.3",
"date": "2002-03-19",
"vim_version": "5.7",
"author": {
"user_id": "14",
"user_name": "mgeddes",
"first_name": "Michael",
"last_name": "Geddes",
"email": "vimmer@frog.wheelycreek.net",
"homepage": ""
},
"release_notes": "Fixed some maps that didn't have <buffer> specifed. Added <localleader> to replace ',' as prefix. Updated the doco.\nChanged the insert-map of '>' to be NOT mapped - define htmlcmd_AUTOCLOSE to map it.\nI would like some feedback on the response speed for large documents - any noteable examples would be good.\nAlso -- any users who need to make modifications due to their setup, I would be interested in hearing from.\nEmail supplied in script."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=270",
"filename": "htmlcmd.vim",
"script_version": "2.2",
"date": "2001-10-14",
"vim_version": "6.0",
"author": {
"user_id": "14",
"user_name": "mgeddes",
"first_name": "Michael",
"last_name": "Geddes",
"email": "vimmer@frog.wheelycreek.net",
"homepage": ""
},
"release_notes": "Have redone the auto-closing maps to make them a lot quicker.\nAdded <m-;> to close a single tag and <m-s-;> to close all tags.\nAdded a menu for Table Of Contents"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=80",
"filename": "htmlcmd.vim",
"script_version": "2.1",
"date": "2001-08-01",
"vim_version": "6.0",
"author": {
"user_id": "14",
"user_name": "mgeddes",
"first_name": "Michael",
"last_name": "Geddes",
"email": "vimmer@frog.wheelycreek.net",
"homepage": ""
},
"release_notes": "Fixed bug that stopped this working as an ftplugin"
}
]
}