aboutsummaryrefslogtreecommitdiff
path: root/wyrdrc.dot.link
blob: 0c48020f92918da104ae3a303e6844bd08c962ea (plain)
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
# Wyrd configuration file

# Command for the Remind executable
set remind_command="remind"

# The default reminder file to display
# We use $HOME/.custom/reminders instead of the default because the user could mistakenly edit that file from wyrd
#set reminders_file="$HOME/.reminders"
set reminders_file="$HOME/.custom/reminders"

# Due to some Wyrd Weirdness, we cannot unbind Alt-q key combo that might conflict with VIM key mapping
# Then we invoke a separate terminal to edit the file so the key combo does not conflict
# command for editing an old appointment, given a line number %line% and filename %file%
#set edit_old_command="terminal ${VISUAL:-$EDITOR} +%line% %file%"
# command for editing a new appointment, given a filename %file%
#set edit_new_command="terminal ${VISUAL:-$EDITOR} +999999 %file%"
# command for free editing of the reminders file, given a filename %file%
#set edit_any_command="terminal ${VISUAL:-$EDITOR} %file%"

# command for editing an old appointment, given a line number %line% and filename %file%
set edit_old_command="${VISUAL:-$EDITOR} +%line% %file%"
# command for editing a new appointment, given a filename %file%
set edit_new_command="${VISUAL:-$EDITOR} +999999 %file%"
# command for free editing of the reminders file, given a filename %file%
set edit_any_command="${VISUAL:-$EDITOR} %file%"

# templates for creating new appointments
# %monname% -> month name, %mon% -> month number, %mday% -> day of the month, 
# %year% -> year, %hour% -> hour, %min% -> minute, %wdayname% -> weekday name
# %wday% -> weekday number

# default templates
set timed_template="REM %monname% %mday% %year% AT %hour%:%min% DURATION 1:00 MSG "
set untimed_template="REM %monname% %mday% %year% MSG "

# vim-latex template
#set timed_template="REM %monname% %mday% %year% <++>AT %hour%:%min%<++> DURATION 1:00<++> MSG %\"<++>%\" %b"
#set untimed_template="REM %monname% %mday% %year% <++>MSG %\"<++>%\" %b"

# weekly recurrence
set template0="REM %wdayname% AT %hour%:%min% DURATION 1:00 MSG "
set template1="REM %wdayname% MSG "

# monthly recurrence
set template2="REM %mday% AT %hour%:%min% DURATION 1:00 MSG "
set template3="REM %mday% MSG "

# repeatable tasks
set template4="REM %monname% %mday% %year% *1 MSG "

# algorithm to use for determining busy level
# "1" -> count the number of reminders in each day
# "2" -> count the number of hours of reminders in each day
set busy_algorithm="1"
# for busy_algorithm="2", assume that untimed reminders occupy this many minutes
set untimed_duration="60"

# if busy_algorithm="1", number of reminders per day allowed for each calendar 
# colorization level; if busy_algorithm="2", use number of hours of reminders
# per day
set busy_level1="1"   # level1 color
set busy_level2="3"   # level2 color
set busy_level3="5"   # level2 color, bold
set busy_level4="7"   # level3 color
                      # (everything else is level3 color, bold)

# first day of the week is Sunday
set week_starts_monday="false"

# 12/24 hour time settings
set schedule_12_hour="false"
set selection_12_hour="true"
set status_12_hour="true"
set description_12_hour="true"

# whether or not to keep the cursor centered when scrolling through timed
# reminders
set center_cursor="false"

# date syntax for the 'go to date' command can be big or little endian
set goto_big_endian="true"
# date syntax for the "quick reminder" command can be US style
# (6/1 -> June 1) or non-US style (6/1 -> January 6)
set quick_date_US="true"

# whether or not to number weeks within the month calendar
set number_weeks="false"

# whether or not the cursor should follow the current time
# after pressing the "home" key
set home_sticky="true"

# whether or not to display advance warnings
set advance_warning="false"

# width of the untimed reminders window
set untimed_window_width="40"

# whether or not to render untimed reminders in boldface
set untimed_bold="true"

# Wyrd listens to Meta-q combo, which might conflict with a VIM key mapping
#unbind "\\Cq"

# key bindings
bind "j"                 scroll_down
bind "<down>"            scroll_down
bind "k"                 scroll_up
bind "<up>"              scroll_up
bind "h"                 switch_window
bind "l"                 switch_window
bind "<left>"            switch_window
bind "<right>"           switch_window
bind "<pageup>"          previous_day
bind "4"                 previous_day
bind "<"                 previous_day
bind "H"                 previous_day
bind "<pagedown>"        next_day
bind "6"                 next_day
bind ">"                 next_day
bind "L"                 next_day
bind "8"                 previous_week
bind "["                 previous_week
bind "K"                 previous_week
bind "2"                 next_week
bind "]"                 next_week
bind "J"                 next_week
bind "{"                 previous_month
bind "}"                 next_month
bind "<home>"            home
bind "g"                 goto
bind "z"                 zoom
bind "<return>"          edit
bind "<enter>"           edit
bind "e"                 edit_any
bind "y"                 copy
bind "X"                 cut
bind "p"                 paste
bind "P"                 paste_dialog
bind "d"                 scroll_description_up
bind "D"                 scroll_description_down
bind "q"                 quick_add
bind "t"                 new_timed
bind "T"                 new_timed_dialog
bind "u"                 new_untimed
bind "U"                 new_untimed_dialog
bind "w"                 new_template0_dialog
bind "W"                 new_template1_dialog
bind "m"                 new_template2_dialog
bind "M"                 new_template3_dialog
bind "r"                 new_template4_dialog
bind "n"                 search_next
bind "/"                 begin_search
bind "<tab>"             next_reminder
#bind "r"                 view_remind
bind "R"                 view_remind_all
bind "c"                 view_week
bind "C"                 view_month
bind "?"                 help
bind "\\Cl"              refresh
bind "q"                 quit

bind "<return>"          entry_complete
bind "<enter>"           entry_complete
bind "<backspace>"       entry_backspace
bind "<esc>"             entry_cancel

# set up the colors
# black, red, green, yellow, blue, magenta, cyan, white, default
color help               cyan default
color timed_default      white default
color timed_current      white red
color timed_reminder1    yellow blue
color timed_reminder2    white red
#color timed_reminder1    default cyan
#color timed_reminder2    white blue
color timed_reminder3    white green
color timed_reminder4    yellow magenta
color untimed_reminder   white default
color timed_date         cyan default
color selection_info     cyan default
color description        white default
color status             cyan default
color calendar_labels    white default
color calendar_level1    white default
color calendar_level2    blue default
color calendar_level3    cyan default
color calendar_today     white red
color left_divider       cyan default
color right_divider      cyan default

# arch-tag: DO_NOT_CHANGE_ee9bb855-2fde-4a61-8645-8ba31b35eaab