Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to make EMACS evil-mode display line numbers

I work with evil-mode under Emacs so I encounter this issue that Emacs display line numbers for some mode but not for other mode, when I try to toggle linenumber-mode explicitly it tells me this mode has been disabled.

is there a way to make evil-mode display line numbers ?

like image 926
zinking Avatar asked Dec 03 '25 19:12

zinking


1 Answers

Try M-x-display-line-number-mode

Evil emacs mode gives unexpected behavior with :set nu.

like image 93
Daoist Paul Avatar answered Dec 06 '25 15:12

Daoist Paul



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!