Disabled yasnippet in term-mode as a workaround for a bug.