edon
edon

Reputation: 722

M-d doesn't work in ansi-term

Killing a word with M-d in ansi-term doesn't work. It visually kills the word, but when I press enter it still runs the command prior to the word kill. C-k works fine though.

Is there any fix for this?

Upvotes: 2

Views: 221

Answers (1)

jfs
jfs

Reputation: 414207

You're working in term-line-mode C-c C-j, you need to switch to term-char-mode C-c C-k.

Upvotes: 3

Related Questions