Added fix to remove yas from term mode