Hi,
in iTerm, I'd like to bind command-Backspace to bash's backward-kill-word
function, without changing bash's bindings (because I want this to work
with the standard bash config on the many boxes I'm working on).
backward-kill-word is bound to "\e\C-h". In iTerm, there's "send escape
sequence", "send hex code" and "send text".
"send text" does not seem to send any control characters at all, so that's
out.
"send escape sequence" works fine for sending escape plus a single
additional character, e.g. I use "d" to send "\ed", which maps to kill-word
in my bash config. But binding "\C-h" won't work, and neither does "^h".
Then there's "send hex code". Since I want to send "\033\010" in octal, I
figured the hex equivalent would be "1b08", or "0x1b0x18" (man ascii) -
none of which work, unfortunately.
Is there a way to send multi-hex code?
Cheers,
Kal
Nobody/Anonymous
None
Distant future
Public
| Field | Old Value | Date | By |
|---|---|---|---|
| priority | 3 | 2009-09-30 01:19 | delx |
| priority | 5 | 2009-09-30 01:17 | delx |
| artifact_group_id | None | 2009-09-30 00:39 | delx |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use