[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient 6a9b8a6bd4 037/366: Bind transient-scroll-{up
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient 6a9b8a6bd4 037/366: Bind transient-scroll-{up, down} explicitly |
Date: |
Tue, 25 Jan 2022 18:54:24 -0500 (EST) |
branch: externals/transient
commit 6a9b8a6bd42074ab6ce58eb4504682b366a989f4
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Bind transient-scroll-{up,down} explicitly
Remapping `scroll-{up,down}-command' does not work.
---
docs/CHANGELOG | 6 +++++-
lisp/transient.el | 18 ++++++++++++------
2 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/docs/CHANGELOG b/docs/CHANGELOG
index 71836707e8..55ef46891b 100644
--- a/docs/CHANGELOG
+++ b/docs/CHANGELOG
@@ -12,7 +12,11 @@
be necessary to do that. #17
- Added new commands ~transient-scroll-up~ and ~transient-scroll-down~,
- which scroll the transient window. #17
+ which scroll the transient window. ~C-v~ and ~M-v~ (and ~<next>~ and
+ ~<prior>~) are bound to these commands. These keys were choosen they
+ are bound to scrolling commands in the global map too. This made
+ it necessary to find a new binding for ~transient-show~, which ~C-t~ is
+ bound to now. #17
- The window that was selected before the transient window was shown
is no longer re-selected before calling a suffix that exits the
diff --git a/lisp/transient.el b/lisp/transient.el
index 7676689d0f..f8449ea8ed 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1110,8 +1110,10 @@ but unfortunately that does not exist (yet?)."
(define-key map (kbd "C-q") 'transient-quit-all)
(define-key map (kbd "C-z") 'transient-suspend)
(define-key map (kbd "ESC ESC ESC") 'transient-quit-all)
- (define-key map [remap scroll-up-command] 'transient-scroll-up)
- (define-key map [remap scroll-down-command]'transient-scroll-down)
+ (define-key map (kbd "C-v") 'transient-scroll-up)
+ (define-key map (kbd "M-v") 'transient-scroll-down)
+ (define-key map [next] 'transient-scroll-up)
+ (define-key map [prior] 'transient-scroll-down)
map)
"Base keymap used by all transients.")
@@ -1124,8 +1126,10 @@ but unfortunately that does not exist (yet?)."
(define-key map (kbd "C-q") 'transient-quit-all)
(define-key map (kbd "C-z") 'transient-suspend)
(define-key map (kbd "ESC ESC ESC") 'transient-quit-all)
- (define-key map [remap scroll-up-command] 'transient-scroll-up)
- (define-key map [remap scroll-down-command]'transient-scroll-down)
+ (define-key map (kbd "C-v") 'transient-scroll-up)
+ (define-key map (kbd "M-v") 'transient-scroll-down)
+ (define-key map [next] 'transient-scroll-up)
+ (define-key map [prior] 'transient-scroll-down)
map)
"Keymap that is active while a transient in is in \"edit mode\".")
@@ -1135,8 +1139,10 @@ but unfortunately that does not exist (yet?)."
(define-key map (kbd "C-q") 'transient-quit-all)
(define-key map (kbd "C-z") 'transient-suspend)
(define-key map (kbd "ESC ESC ESC") 'transient-quit-all)
- (define-key map [remap scroll-up-command] 'transient-scroll-up)
- (define-key map [remap scroll-down-command]'transient-scroll-down)
+ (define-key map (kbd "C-v") 'transient-scroll-up)
+ (define-key map (kbd "M-v") 'transient-scroll-down)
+ (define-key map [next] 'transient-scroll-up)
+ (define-key map [prior] 'transient-scroll-down)
map)
"Keymap that is active while an incomplete key sequence is active.")
- [elpa] externals/transient be13cd4616 008/366: readme: Fix screenshot url, (continued)
- [elpa] externals/transient be13cd4616 008/366: readme: Fix screenshot url, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient ca18bb66d2 012/366: transient--show: Bind lv-use-separator to t, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 2f011c9f19 013/366: transient--show-brief: Don't call kbd twice per key, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient db815604b3 025/366: Mention that infixes are suffixes, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient cc54574005 017/366: manual: Prevent evaluation of code blocks, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 328298fb7d 021/366: transient--pp-to-file: New function, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 796f896507 026/366: Add a changelog, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 1fa3896986 016/366: manual: Call ox-texinfo+-update-copyright-years while exporting, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient f0213e0543 032/366: Add commands to scroll transient window, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 2fed1b4f90 036/366: Change transient-show's key binding, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 6a9b8a6bd4 037/366: Bind transient-scroll-{up, down} explicitly,
Jonas Bernoulli <=
- [elpa] externals/transient 5f0ec7d08c 039/366: transient-predicate-map: Bind digit-argument, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient ebe9d9d354 046/366: transient-{set, save}-value: New generic functions, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient eade425ec6 044/366: transient-init-value: Define catch all method using cl-defgeneric, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 93c9a7ecfc 052/366: transient--history-init: Fix doc-string pasto, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient f2314ba2a4 059/366: transient-infix-set: Silence byte-compiler, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 1c6afb817f 061/366: Teach the mode-related suffix predicates about lists of modes, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 6506cfdb8b 062/366: define-transient-command: Support :level in suffix definitions, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient a87cb2c35a 063/366: transient-read-directory: New function, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 1e8dfe954a 070/366: transient--window: Add doc-string, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 99d3bf6e76 014/366: transient--show-brief: Don't show binding for transient-set-level, Jonas Bernoulli, 2022/01/25