aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-06-13 17:53:15 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-06-13 17:53:15 -0300
commit48123a44b5e5491dccc97b92e8245cb43cf7101b (patch)
tree6d9a21c4874fbc7372322fd07090966195386841
parentde137942c89ac93d1964b36332fec13a7a6e1668 (diff)
downloadwyrd-48123a44b5e5491dccc97b92e8245cb43cf7101b.tar.gz
wyrd-48123a44b5e5491dccc97b92e8245cb43cf7101b.tar.bz2
Updating template scheme
-rw-r--r--wyrdrc.dot.link25
1 files changed, 14 insertions, 11 deletions
diff --git a/wyrdrc.dot.link b/wyrdrc.dot.link
index 869c5b3..9aec5a1 100644
--- a/wyrdrc.dot.link
+++ b/wyrdrc.dot.link
@@ -11,14 +11,19 @@ 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 "
@@ -27,6 +32,8 @@ set template1="REM %wdayname% MSG "
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
@@ -44,7 +51,6 @@ 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"
@@ -80,7 +86,6 @@ set untimed_window_width="40"
# whether or not to render untimed reminders in boldface
set untimed_bold="true"
-
# key bindings
bind "j" scroll_down
bind "<down>" scroll_down
@@ -123,14 +128,15 @@ bind "t" new_timed
bind "T" new_timed_dialog
bind "u" new_untimed
bind "U" new_untimed_dialog
-bind "w" new_template0
-bind "W" new_template1
-bind "m" new_template2
-bind "M" new_template3
+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
bind "R" view_remind_all
bind "c" view_week
bind "C" view_month
@@ -143,7 +149,6 @@ 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 black
@@ -168,6 +173,4 @@ color calendar_today white red
color left_divider cyan black
color right_divider cyan black
-
-
# arch-tag: DO_NOT_CHANGE_ee9bb855-2fde-4a61-8645-8ba31b35eaab