osx - How can I remap TAB in Emacs? -
this feels should simple it's been driving me crazy. i've got function indent-or-expand
i'd remap tab can't work (emacs v24, os x). i've been able emacs is:
error "to bind key tab, use \"\\t\", not [tab]"
doing (global-set-key [\"\\t\"] 'indent-or-expand)
binds function <"\t">
apparently (whatever is), , every combination i've tried of \, ", [], , () has failed.
i did manage bind function t, though...
in addition others have told you:
the emacs error message cite told use "\t", , if use should ok:
(global-set-key "\t" 'indent-or-expand)
be aware
tab
1 thing ,<tab>
might thing. iow, depends code physical keyboardtab
key sends emacs.tab
tab character, , same acscii control characterc-i
, is,control
+i
, has decimal integer value 9.<tab>
(in emacs) pseudo function key. (mosttab
want. usec-h k
see physicaltab
key does.)
Comments
Post a Comment