Disable linum-mode for ansi-term

Having linum-mode enabled for ansi-term can have a lot of impact on the performance, we better disable it, the following snippet also works with other modes as well:

(add-hook 'term-mode-hook (lambda () (linum-mode -1)))

You gonna need to restart Emacs to see it working.

Date: 2019-01-23 Wed 00:00

Author: Huy Tran

Created: 2019-04-22 Mon 14:41