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
tab1 thing ,<tab>might thing. iow, depends code physical keyboardtabkey sends emacs.tabtab character, , same acscii control characterc-i, is,control+i, has decimal integer value 9.<tab>(in emacs) pseudo function key. (mosttabwant. usec-h ksee physicaltabkey does.)
Comments
Post a Comment