-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCustominsert.sublime-settings
executable file
·44 lines (43 loc) · 2.3 KB
/
Custominsert.sublime-settings
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
{
"data": {
"author": "yanni4night",/*default author*/
"version": "1.0.0",/*default version*/
"vendor":"yanni4night.github.io"
},
"content": "This is inserted by sublime-custom-insert",
"default_encoding": "UTF-8",
"auto_generate_context_menus": true,
"auto_generate_commands": true,
"position": "cursor",/*cursor|start*/
"datetime_format": "%Y-%m-%d[%H:%M:%S]",
/*custom actions*/
"actions": {
"datetime": {
"content": "{%datetime%}",
"position": "cursor"
},
"copyright": {
"content": {
"default": "/**\n * Copyright (C) {%year%} {{vendor}}\n * {%filename%}\n *\n * changelog\n * {%datetime%}:revised\n *\n * @author {{author}}\n * @version {{version}}\n * @since {{version}}\n */\n",
"php": "<?php\n/**\n * Copyright (C) {%year%} {{vendor}}\n * {%filename%}\n *\n * changelog\n * {%datetime%}:revised\n *\n * @author {{author}}\n * @version {{version}}\n * @since {{version}}\n */\n?>",
"py": "# Copyright (C) {%year%} {{vendor}}\n# {%filename%}\n#\n# changelog\n# {%datetime%}:revised\n#\n# @author {{author}}\n# @version {{version}}\n# @since {{version}}\n#\n"
},
"position": "start",
"data": {
"author":"[email protected]"
}
},
"html":{
"content":"<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"{{charset}}\"/>\n <title>{{title}}</title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no\">\n <meta name=\"keywords\" content=\"\"/>\n <meta name=\"description\" content=\"This is auto-generated by sublime-custom-insert\"/>\n <meta name=\"revised\" value=\"{{author}},{%datetime%}\"/>\n <style type=\"text/css\">\n </style>\n </head>\n <body>\n\n </body>\n <script type=\"text/javascript\"></script>\n</html>\n",
"position":"start",
"datetime_format": "%Y/%m/%d",
"data":{
"title":"Demo",
"charset":"utf-8"
}
},
"me":{
"content":"[email protected]"
}
}
}