forked from ihdavids/orgextended
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OrgExtended.sublime-settings
240 lines (202 loc) · 11.5 KB
/
OrgExtended.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
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
{
// The color scheme to use for the capture buffer
// Right now I only have a light and dark scheme. In the future
// I hope to allow your color scheme to impact the scheme and to provide
// a means of extending your scheme with the org colors
"color_scheme": "Packages/OrgExtended/OrgExtended.sublime-color-scheme",
// Turn on TableEditor for orgmode
"enable_table_editor": true,
"table_editor_syntax": "EmacsOrgMode",
// The quick capture buffer gets this name
"captureBufferName": "*capture*",
// Captures go into this file for refiling later.
"refile": "D:\\Build\\notes\\refile.org",
// Org Capture templates $0 is where the cursor ends up.
"captureTemplates":
[
//{
// "name": "Todo",
// "template":
// "* TODO $0\n :PROPERTIES:\n:CREATED: [{datetime}]\n:END:\n "
//},
{
"name": "Todo",
"type": "entry",
"snippet": "todo_heading",
"target": ["file","{refile}"],
},
{
"name": "Note",
"type": "entry",
"snippet": "note_heading",
"target": ["file","{refile}"],
},
{
"name": "Capture",
"type": "entry",
"snippet": "capture_heading",
"target": ["file","{refile}"],
},
{
// This is what I am heading towards.
// TODO:
// - types
// - snippet insertion for the template
// - target selection methods
// - properties insertion.
// - better capture buffer (not a panel)
"name": "Meeting",
// types:
// entry - An Org mode node, with a headline. Will be filed as the child of the target entry or as a top-level entry
// item - A plain list item, placed in the first plain list at the target location
// checkitem - A checkbox item. This only differs from the plain list item by the default template
// table-line - A new line in the first table at the target location. Where exactly the line will be inserted depends on the properties :prepend and :table-line-pos (see below)
// plain - Text to be inserted as it is.
"type": "entry",
// targets:
// file - text appened at end of file.
// id - text appened to existing org id in db
// file+headline - unique headline in file
// file+olp - full path to headline
// file+regexp - heading is a match to the regexp
// file+datetree - This target creates a heading in a date tree for today’s date. If the optional outline path is given, the tree will be built under the node it is pointing to
// clock - insert under current item being clocked.
// function <name>- generic function to find location for you
"target": ["file","{refile}"],
"snippet": "meeting_heading",
// This can be panel or direct
// Panel will open up a panel that copies its contents to your target when
// the panel loses focus. Direct will open up the actual file at your traget
// during the capture
"openas": "panel",
//"template": "* MEETING $0\n :PROPERTIES:\n:CREATED: [{datetime}]\n:END:\n "
// prepend - Normally new captured information will be appended at the target location (last child, last table line, last list item, …). Setting this property changes that.
// immediate-finish - When set, do not offer to edit the information, just file it away immediately. This makes sense if the template only needs information that can be added automatically.
// empty-lines - Set this to the number of lines to insert before and after the new item. Default 0, and the only other common value is 1.
// clock-in - Start the clock in this item.
// clock-keep - Keep the clock running when filing the captured entry.
// clock-resume - If starting the capture interrupted a clock, restart that clock when finished with the capture. Note that clock-keep has precedence over clock-resume. When setting both to non-nil, the current clock will run and the previous one will not be resumed.
// time-prompt - Prompt for a date/time to be used for date/week trees and when filling the template. Without this property, capture uses the current date and time. Even if this property has not been set, you can force the same behavior by calling org-capture with a C-1 prefix argument.
// tree-type - When week, make a week tree instead of the month tree, i.e., place the headings for each day under a heading with the current ISO week.
// unnarrowed - Do not narrow the target buffer, simply show the full buffer. Default is to narrow it so that you only see the new material.
// table-line-pos - Specification of the location in the table where the new line should be inserted. It should be a string like ‘II-3’ meaning that the new line should become the third line before the second horizontal separator line.
// kill-buffer - If the target file was not yet visited when capture was invoked, kill the buffer again after capture is completed.
// no-save - Do not save the target file after finishing the capture.
"properties":
[
],
}
],
// Where are your org files?
"orgDirs": [
"c:\\Users\\ian\\notes"
],
// Specific files to add vs whole directories
//"orgFiles": [
//],
// Directories to exclude from parsing org files
//"orgExcludeDirs": [],
// Files to be excluded from org parsing
//"orgExcludeFiles": [],
// The Org DB will not load a file without one of these file extensions.
// It assumes we are somehow erroneously trying to load something wrong.
// If you create your own #+ARCHIVE: entries make sure the extensions are in here.
"validOrgExtensions": [ ".org", ".org_archive"],
// Startup is equivalent to #+STARTUP: showall in a file
// but has an effect on all org files. This controls what mode
// the org files show as globally. Valid values are:
// - showall - everything but drawers is shown
// - showeverything - even drawers are shown.
// - contents - like a table of contents, contents of headings is hidden but all headings shown
// - overview - only top level headings are shown.
// - noinlineimages - do not show images inline
// - inlineimages - show inline images in file
// #+STARTUP: inlineimages
// #+STARTUP: noinlineimages
"startup": ["showall", "noinlineimages"],
// Used in the tag selector for the font to use in the popup
//"input_font_face": "Arial",
// List of priorities we can insert / change to
// NOTE: only the letters (below) can be highlighted at the moment
// I haven't found a good way to modify the grammer dynamically.
//"priorities": ["A","B","C","D","E"]
// Globally where should things be archived?
// So the following will expand to myfile.org_archive
// NOTE: org allows for datetree/ and a few other options
// we probably only support a subset of those
// properly
"archive": "%s_archive::* Archive",
// We follow the same sort of syntax as the normal orgmode for todos.
// Right now I don't support logging tags on these, but that will come.
// I don't have smart syntax highlighting on these. The grammar file gives
// me some basic highlighting.
"todoStates": ["TODO","NEXT", "BLOCKED","WAITING","|", "CANCELLED", "DONE","MEETING","PHONE","NOTE"],
// When looking for images in org files, where might those images be located?
// The first path in this list is where generated images will be placed.
// If this list is empty a subdir of images under the first entry in orgDirs will be used.
"imageSearchPath": [],
"resolver.jira.url":"http://sandbox.onjira.com/browse/%s",
"resolver.jira.pattern":"^(jira|j):(?P<issue>.+)$",
//email
"resolver.email.url":"mailto:%s",
"resolver.email.pattern":"^(?P<type>email|mailto):(?P<email>[^/]+)(/(?P<subject>.+))?$",
//prompt
"resolver.prompt.pattern":"^(cmd:|prompt:)(?P<path>.+)$",
//file: Only these extensions will be opened in sublime when in a link others will be opened externally.
"resolver.local_file.force_into_sublime":"'*.txt', '*.org', '*.py', '*.rb', '*.html', '*.css', '*.js', '*.php', '*.c', '*.cpp', '*.h', '*.png', '*.jpg', '*.gif', '*.cs'",
//"resolver.local_file.pattern":"^(file:)?(?P<filepath>.+?)(?::(?P<row>\\d+)(?::(?P<col>\\d+))?)?$",
// For the plantuml source blocks, where is planuml found?
"plantuml": "D:\\Build\\.imacs\\plantuml.jar",
// What does the composite agenda view show?
// You can add your own views but that is done through code.
// Right now I ONLY have this one composite view.
"AgendaCustomViews":
{
"Default": ["Calendar", "Week", "Day", "Blocked Projects", "Next Tasks", "Loose Tasks"],
"Todos": ["Todos"],
"Notes": ["Notes"],
"Flags": ["Todos : tagfilter |TAG1 |OTHERTAGS", "Todos : tagfilter OTHERTAGS"],
},
// By default our first day of the week is Sunday
// But some people prefer the first day to be monday
// Set first day to Monday
"firstDayOfWeek": "Sunday",
// Configure the agenda header format
//"agendaHeaderFormat": "%A \t%d %B %Y",
// Day view starts at 6am and ends at 7pm
"agendaDayStartTime": 6,
"agendaDayEndTime": 19,
// If you would like to only see the work week
// set num days to 5 and the firstDayOfWeek above
// to Monday
"agendaWeekViewNumDays": 7,
// Do you want the system to delete clocking entries smaller than 1 minute
// or keep them?
"clockingSubMinuteClocks": true,
// This is the template used to notify outside of sublime on org notifications
//"ExternalNotificationCommand": ["C:\\Windows\\SysWOW64\\WindowsPowerShell\\v1.0\\powershell.exe", "-ExecutionPolicy", "Unrestricted", ".\\balloontip.ps1", "\"{todo}\"" , "\"{time}\""]
// When notice thread is polling, how far off does event need to be?
"notifyHoursBefore": 0,
"notifyMinsBefore": 15,
// How often to check if an event is up? (in minutes)
"noticePeriod": 1,
// Pandoc export uses these to determine the style and the location of pandoc executable
// "PandocPath": "C:\Program Files\Pandoc\pandoc.exe",
// "PandocStyle": "blocky",
// Turning this on allows you to write table functions and symbol
// extensions in: Packages/User/orgtable/myfunction.py
//
// These can be used in the TBLFM expressions on tables.
// These are turned OFF by default and can be enabled
// by you when you want to add your own extensions.
//"enableTableExtensions": true,
// By default extensions are lazy loaded the first time you encounter a table
// when writing an extension this can become tedious fast as it means you have to
// reload sublime to test your changes. Turn this on and sublime will forcibly reload
// extensions every time it goes to execute them.
//"forceLoadExternalExtensions": true,
// Turning this on will turn on a lot of additional logging to help diagnose problems
// during debugging. Do not enable unless you really want that.
// You will need to restart sublime to get this.
// "enableDebugLogging": true,
}