[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable line numbers in *shell* mode

From: Xue Fuqiao
Subject: Re: Disable line numbers in *shell* mode
Date: Sat, 14 Sep 2013 08:02:44 +0800

On Fri, Sep 13, 2013 at 5:26 AM, Felix Dietrich
<address@hidden> wrote:
> Scott Kinney <address@hidden> writes:
>> I have line numbers enabled and i like it
>> except in *shell* mode.
>> it just wastes real estate.
>> any ideas on how to disable line numbers in *shell* mode only?
> (add-hook 'shell-mode-hook (lambda ()
>                                                          (linum-mode -1)))
> Should hopefully do the trick.

True.  And I recommend you using nlinum in GNU ELPA (if you are not
using it now).  It is like linum-mode, but uses jit-lock to be more

Best regards, Xue Fuqiao.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]