diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-10-05 10:45:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-10-05 10:45:35 -0300 |
commit | 67159eb86e94e71f544da2ffafd11e6b893eaa35 (patch) | |
tree | e2e4e090cac7c520d1c3b3eed85809869f259229 | |
parent | 522a84b882bdea54f0ade5a8e36a19a9de0d7b1d (diff) | |
download | wyrd-67159eb86e94e71f544da2ffafd11e6b893eaa35.tar.gz wyrd-67159eb86e94e71f544da2ffafd11e6b893eaa35.tar.bz2 |
Workaround to avoid VIM key binding conflict
-rw-r--r-- | wyrdrc.dot.link | 19 |
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 |