aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wyrdrc.dot.link19
1 files changed, 16 insertions, 3 deletions
diff --git a/wyrdrc.dot.link b/wyrdrc.dot.link
index 4bf2093..c733212 100644
--- a/wyrdrc.dot.link
+++ b/wyrdrc.dot.link
@@ -4,12 +4,22 @@
set remind_command="remind"
# the default reminder file to display
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%"
+#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%"
+#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%"
+#set edit_any_command="${VISUAL:-$EDITOR} %file%"
# templates for creating new appointments
# %monname% -> month name, %mon% -> month number, %mday% -> day of the month,
@@ -86,6 +96,9 @@ 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