aboutsummaryrefslogtreecommitdiff
path: root/sx-question-mode.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-09 15:45:32 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-09 15:45:32 +0000
commitb21052b4bd537f1e61fe8efb3badee1043a0af54 (patch)
treee0d894069c4793b365c5e91d33904628beba0b1a /sx-question-mode.el
parent3d6089a6f96b832cb88ccb7bea9be5e1a566d15d (diff)
Define up and down keys in question-mode.
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r--sx-question-mode.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el
index ccd9433..19d7d16 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -193,7 +193,10 @@ Letters do not insert themselves; instead, they are commands.
(mapc
(lambda (x) (define-key sx-question-mode-map
(car x) (cadr x)))
- `(("n" sx-question-mode-next-section)
+ `(
+ ([down] sx-question-mode-next-section)
+ ([up] sx-question-mode-previous-section)
+ ("n" sx-question-mode-next-section)
("p" sx-question-mode-previous-section)
("g" sx-question-mode-refresh)
("c" sx-comment)