Getting Emacs ansi-term and Zsh to play nicely

后端 未结 4 499
[愿得一人]
[愿得一人] 2021-02-01 21:42

I\'ve been trying to use Zsh within my emacs session, without emacs remapping all the Zsh keys. I found ansi-term works pretty well for this but, I\'m still having some problems

4条回答
  •  不知归路
    2021-02-01 22:20

    Hmmm. I don't think I've ever seen any fancy editing work out well within ansi-term, although I haven't tried it in maybe 20 years. I'll just ask, in passing, if you've tried shell-mode (M-x shell) as it's a lot more natural with EMACS anyway.

    That said, reading through the term.el file, it kind of looks like ansi-term is doing a lot of manging of its own. you might want to look at the term raw mode code, starting around line 1230, at least in EMACS 22.3.

提交回复
热议问题