/
0258 - htmlmap.json
91 lines (91 loc) · 4.31 KB
/
0258 - htmlmap.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
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": "258",
"display_name": "htmlmap",
"summary": "macros to help type HTML entities",
"name": "htmlmap",
"script_type": "utility",
"description": "This script defines a number of macros, all for insert mode in HTML files. Once installed, it will automatically \"translate\" characters into their &...; strings: so for instance if you type \"ä\" the characters \" & a u m l ; \" will be inserted (without the intervening spaces). A mechanism similar to Vim's \"digraphs\" is also supported but with another key (F12, but you can replace it with something else if it doesn't suit you), so that e.g. \"<F12>oe\" inserts the numeric code for the oe ligature (above 255, some browsers know the numeric codes but not the symbolic entities such as œ).\n\nThe script contains a lot of comments to make it largely self-explanatory.",
"install_details": "Add the line\n\n source <path>/htmlmap.vim\n\n(where <path> is the directory where you downloaded this script) to the file ~/.vim/ftplugin/after/html.vim (for Unix) or ~/vimfiles/ftplugin/after/html.vim (for Windows). Create the file and the directories if they don't yet exist.\n\nOptionally, add\n\n imap <F12> <C-K>\n\nto your vimrc if you want to use the same key as a digraph prefix for entities in HTML and for characters in other files.\n\nNote that if your vim does not support autocommands you can still make this script work by sourcing it manually in the buffer(s) where you need it.",
"versions": [
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1689",
"filename": "htmlmap.vim",
"script_version": "1.01pl4",
"date": "2003-02-02",
"vim_version": "6.0",
"author": {
"user_id": "1436",
"user_name": "ingo@ntx.at",
"first_name": "Ingo",
"last_name": "Lantschner",
"email": "ingo@ntx.at",
"homepage": "http://ingo.netomania.at"
},
"release_notes": "Euro-Sign added."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1336",
"filename": "htmlmap.vim",
"script_version": "1.01pl3",
"date": "2002-10-24",
"vim_version": "6.0",
"author": {
"user_id": "579",
"user_name": "tonymec",
"first_name": "Antoine",
"last_name": "Mechelynck",
"email": "antoine.mechelynck@skynet.be",
"homepage": "http://users.skynet.be/antoine.mechelynck/"
},
"release_notes": " - Bugfix for some rare Cyrillic characters\n - Bugfix for circumflex-accented o and O\n - Improvement: Added map for non-breaking space (but commented-out by default)\n - Cosmetic improvement: Release history added."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=737",
"filename": "htmlmap.vim",
"script_version": "1.01pl1",
"date": "2002-03-31",
"vim_version": "6.0",
"author": {
"user_id": "579",
"user_name": "tonymec",
"first_name": "Antoine",
"last_name": "Mechelynck",
"email": "antoine.mechelynck@skynet.be",
"homepage": "http://users.skynet.be/antoine.mechelynck/"
},
"release_notes": "Bugfix for Cyrillic uppercase io, dje, gje and Ukrainian ie (was 1024-1027, should be 1025-1028)"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=734",
"filename": "htmlmap.vim",
"script_version": "1.01",
"date": "2002-03-30",
"vim_version": "6.0",
"author": {
"user_id": "579",
"user_name": "tonymec",
"first_name": "Antoine",
"last_name": "Mechelynck",
"email": "antoine.mechelynck@skynet.be",
"homepage": "http://users.skynet.be/antoine.mechelynck/"
},
"release_notes": "bugfix = incorrect output for <F12>B= ; <F12>V= not recognized (Cyrillic uppercase B and V)"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=727",
"filename": "htmlmap.vim",
"script_version": "1.0",
"date": "2002-03-29",
"vim_version": "6.0",
"author": {
"user_id": "579",
"user_name": "tonymec",
"first_name": "Antoine",
"last_name": "Mechelynck",
"email": "antoine.mechelynck@skynet.be",
"homepage": "http://users.skynet.be/antoine.mechelynck/"
},
"release_notes": "Initial upload"
}
]
}