Why can't emacs on OSX in iTerm2 not see C-S-<up>? -
i have next keyboard shortcut in init.el
(global-set-key (kbd "c-s-<up>") 'move-line-up)
this works great in cocoa emacs.app, when running emacs in console mode in iterm2 seems keys never create emacs.
i tried running next in emacs
(read-key-sequence "?")
and entering c-s-<up>
in prompt never received. makes me think either iterm2 or zsh stealing keystrokes. ideas on how debug this? or improve yet answers?
my guess it's iterm intercepting things.
you might find this site helpful. says:
select profiles > open profiles… menu bar, or press command-o , take @ default profile. click on keys section. while here verify have left option , right option +esc
.
for arrow key fixes though need add together series of key shortcuts. easiest way started select load preset… > xterm defaults
osx emacs zsh iterm
No comments:
Post a Comment