help-gnu-emacs
[Top][All Lists]
Advanced

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

Display line number on each buffer line


From: fatiparty
Subject: Display line number on each buffer line
Date: Thu, 2 Dec 2021 15:39:25 +0100 (CET)

Dec 2, 2021, 13:33 by abarocio80@gmail.com:

>
> 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.
>
What are the keyword names I need to change exactly in my init file?  



reply via email to

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