[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Alternative to left arrow key in Winner mode
From: |
Drew Adams |
Subject: |
RE: Alternative to left arrow key in Winner mode |
Date: |
Sat, 11 Jul 2015 10:08:32 -0700 (PDT) |
> I use no-easy-keys.el, and hence the arrow keys are disabled.
> By default, in winner mode, to switch to the previous configuration
> the command is "C-c <left-arrow>".
> Is there a way to change winner-mode to use a different key rather
> than the <left-arrow> key?
I don't use winner.el, but this should get you started:
(define-key winner-mode-map (kbd "<f5>") 'winner-undo)
Substitute whatever key sequence you want for "<f5>".
See the Emacs manual, node `Init Rebinding'.
http://www.gnu.org/software/emacs/manual/html_node/emacs/Init-Rebinding.html