GNU bug report logs -
#24379
[PATCH] lisp/bindings.el: Bind (yank-pop -1) to M-Y
Previous Next
Reported by: Nils Berg <nilsb <at> google.com>
Date: Tue, 6 Sep 2016 13:29:02 UTC
Severity: wishlist
Tags: patch, wontfix
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
It's extremely useful to be able to traverse the kill ring in both
directions, especially when there's many entries in it.
M-Y was the most intuitive binding for this to me, but one
could also argue in favor of C-M-y.
---
lisp/bindings.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/bindings.el b/lisp/bindings.el
index c13f4b1..42efd05 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -889,6 +889,7 @@ if `inhibit-field-text-motion' is non-nil."
(define-key esc-map "\C-w" 'append-next-kill)
(define-key global-map "\C-y" 'yank)
(define-key esc-map "y" 'yank-pop)
+(define-key esc-map "Y" (lambda () (interactive) (yank-pop -1)))
;; (define-key ctl-x-map "a" 'append-to-buffer)
[Message part 2 (text/html, inline)]
This bug report was last modified 5 years and 326 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.