As a temporary workaround to get tabs available, I redefine:
\bind "Tab" "command-alternatives
completion-accept;cell-forward;tab-insert;depth-increment;outline-in;self-insert
"
with last command being self-insert \t (the actual tabulation). I have
tried unicode-insert 0x0009, but it does not work.
This is not as good as tab-insert/tab-delete, but will do the job for now...
Best,
PhG
Philippe Grosjean wrote:
I would love to see this feature added in the next LyX version.
Many thanks,
PhG
rgheck wrote:
Jean-Marc Lasgouttes wrote:
LFUN_TAB_INSERT currently
only works with listings. You might be able to redo the bindings so
that the tab key would insert a tab, perhaps via unicode-insert and
then the tab character, but I'm not sure.
This probably that this code should be made more generic and usable in
custom insets... I am not sure how difficult this would be.
Fairly easy, I think. The attached basically just moves the code from
InsetListings to InsetCollapsable and tests against PassThru. I
haven't actually tested it but can't see how it wouldn't work.
rh