[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Display line number on each buffer line
From: |
Alejandro Barocio A. |
Subject: |
Re: Display line number on each buffer line |
Date: |
Thu, 02 Dec 2021 07:33:09 -0600 |
User-agent: |
mu4e 1.6.10; emacs 29.0.50 |
fatiparty--- via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:
> Dec 2, 2021, 09:17 by philipk@posteo.net:
>
>> fatiparty--- via Users list for the GNU Emacs text editor
>> <help-gnu-emacs@gnu.org> writes:
>>
>>> Dec 2, 2021, 08:31 by larsi@gnus.org:
>>>
>>>> fatiparty--- via Users list for the GNU Emacs text editor
>>>> <help-gnu-emacs@gnu.org> writes:
>>>>
>>>>> Is there a way to display the line number on each buffer line?
>>>>>
>>>>
>>>> `M-x display-line-numbers-mode'
>>>>
>>> That's what I was looking for. Is there a technique for changing the
>>> foreground colour of the line number as well?
>>>
>>
>> You can customise the faces line-number (for all lines) and
>> line-number-current-line (for the current line). Use `M-x
>> customize-face [face name]' to do this interactively.
>>
>
> That is good, but I want to do that from my init file if possible. Is
> there a way to reduce the line number size as well?
All configuration and customization could be done from your init.el.
All customization that changes font, sizes, colours... all is done
customizing your faces.
--
Alejandro Barocio A.
Ex nihilo nihil fit.
signature.asc
Description: PGP signature
- Display line number on each buffer line, fatiparty, 2021/12/02
- Re: Display line number on each buffer line, Lars Ingebrigtsen, 2021/12/02
- Message not available
- Display line number on each buffer line, fatiparty, 2021/12/02
- Re: Display line number on each buffer line, Michael Heerdegen, 2021/12/02
- Re: Display line number on each buffer line, Eli Zaretskii, 2021/12/02
- Re: Display line number on each buffer line, Michael Heerdegen, 2021/12/02
- Display line number on each buffer line, fatiparty, 2021/12/03
- Re: Display line number on each buffer line, Michael Heerdegen, 2021/12/03
- Re: Display line number on each buffer line, Philip Kaludercic, 2021/12/02
- Re: Display line number on each buffer line, Jean Louis, 2021/12/03