I'm running emacs from an iTerm2 command line. I currently have the following two lines in .emacs
:
(keymap-global-set "ESC <up>" 'scroll-down-command)
(keymap-global-set "ESC <down>" 'scroll-up-command)
On my Mac, this is done with Option+ArrowKey. I'd like to add key bindings to scroll-other-window-
variants of the above, using for instance Option+Shift+ArrowKey or Option+Control+ArrowKey. I haven't found a way of doing this. Is there any way to modify a Mac arrow key with something besides Option?
;; (keymap-global-set "ESC <up>" 'scroll-other-window-down)
;; (keymap-global-set "ESC <down>" 'scroll-other-window-up)