/
0004 - ToggleCommentify.vim.json
123 lines (123 loc) · 5.62 KB
/
0004 - ToggleCommentify.vim.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"script_id": "4",
"display_name": "ToggleCommentify.vim",
"summary": "comment lines in a program",
"name": "ToggleCommentify.vim",
"script_type": "utility",
"description": "This is a (very) simple script to comment lines in a program. Currently supported languages are C, C++, the vim scripting language, python, and ox. Given the simplicity of the program it very easy to add support for new languages. The comments in the file should provide sufficient information on how to proceed.\n\n ",
"install_details": "You can put the functions in the attachment directly into your .vimrc or in a separate file to be sourced. If you choose for the latter option add a statement such as ...\n\nexecute \"source ~/vim/myVimFiles/ToggleCommentify.vim\"\n\n... to your .vimrc file\n\nTo call the functions add the following mappings in your .vimrc. \n \nmap <M-c>\t:call ToggleCommentify()<CR>j\nimap <M-c>\t<ESC>:call ToggleCommentify()<CR>j\n\nThe nice thing about these mapping is that you don't have to select a visual block to comment ... just keep the ALT-key pressed down and tap on 'c' as often as you need.",
"versions": [
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1408",
"filename": "FeralToggleCommentify.vim",
"script_version": "1.53",
"date": "2002-11-13",
"vim_version": "6.0",
"author": {
"user_id": "818",
"user_name": "FeralOfFireTop",
"first_name": "Robert",
"last_name": "KellyIV",
"email": "feral@eclecticwizard.com",
"homepage": ""
},
"release_notes": "Incorperated Bernhard Wagner's 12-Nov-2002 v1.52 xml changes\nWill make default mappings to <M-c> only if no map to <Plug>FtcTC and <M-c> is unused.\nMerged DLAC with this; DLAC = duplicate line and comment, simple mappings that are handy to use to save and comment a line before you mangle it. However this mangles mark z -- <Plug>FtcDlacNormal and <Plug>FtcDlacVisual; default is <S-C-c>\nBugfix:\tmismatched <Plug> names; This is <Plug>FtcTc (not FbmTc)\n"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1404",
"filename": "FeralToggleCommentify.vim",
"script_version": "1.52",
"date": "2002-11-12",
"vim_version": "6.0",
"author": {
"user_id": "1235",
"user_name": "vimp",
"first_name": "Bernhard",
"last_name": "Wagner",
"email": "vimp reside",
"homepage": ""
},
"release_notes": "Added XML file type"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1380",
"filename": "FeralToggleCommentify.vim",
"script_version": "1.51",
"date": "2002-11-05",
"vim_version": "6.0",
"author": {
"user_id": "818",
"user_name": "FeralOfFireTop",
"first_name": "Robert",
"last_name": "KellyIV",
"email": "feral@eclecticwizard.com",
"homepage": ""
},
"release_notes": "*Hacked in eol comments and added html's <!-- --> comments.\n* saves cursor position\n* bugfix for + comment.\n* See file comments for more details."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=1033",
"filename": "FeralToggleCommentify.vim",
"script_version": "1.3",
"date": "2002-07-21",
"vim_version": "6.0",
"author": {
"user_id": "818",
"user_name": "FeralOfFireTop",
"first_name": "Robert",
"last_name": "KellyIV",
"email": "feral@eclecticwizard.com",
"homepage": ""
},
"release_notes": "Added :TC, :UC, :CC to toggle, uncomment and comment. Ranges suported as is specifying the comment symbol. Previous maping of <M-c> preserved (still toggles the comment)\nI've made a mess but it but works quite nicely near as I can tell :) Please see the comments at the head of the file. If my changes meet your aproval I sugest renaming the file back to ToggleCommentify.vim -- only renamed it to avoid colisions and confusion. I was unable to reach Vincent via email so making my changes public here; Hope they are helpful!"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=22",
"filename": "ToggleCommentify.vim",
"script_version": "1.2",
"date": "2001-06-09",
"vim_version": "5.7",
"author": {
"user_id": "9",
"user_name": "Vincent",
"first_name": "Vincent",
"last_name": "Nijs",
"email": "Vincent.Nijs@econ.kuleuven.ac.be",
"homepage": ""
},
"release_notes": "Resolved problems with comments."
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=12",
"filename": "ToggleCommentify.vim",
"script_version": "1.1",
"date": "2001-06-05",
"vim_version": "5.7",
"author": {
"user_id": "9",
"user_name": "Vincent",
"first_name": "Vincent",
"last_name": "Nijs",
"email": "Vincent.Nijs@econ.kuleuven.ac.be",
"homepage": ""
},
"release_notes": "This version no longer uses 's:' (i.e., script-variables) as they are not supported in vim5.7 or vim5.8. Thanks to Rex Posadas for pointing this out to me.\n"
},
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=5",
"filename": "ToggleCommentify.vim",
"script_version": "1.0",
"date": "2001-05-29",
"vim_version": "5.7",
"author": {
"user_id": "9",
"user_name": "Vincent",
"first_name": "Vincent",
"last_name": "Nijs",
"email": "Vincent.Nijs@econ.kuleuven.ac.be",
"homepage": ""
},
"release_notes": "Initial upload"
}
]
}