None of those hooks will apply because the buffer (and its mode) has already been created long before your add-hook happens.
I suggest you add
to your ~/.emacs instead.
This same or similar question was previously asked on stackoverflow: https://stackoverflow.com/questions/24838516/how-to-set-paragraph-spacing-in-emacs Here is a regurgitation of my prior answer:
The following code alters the visual display by adding an additional new visual line, but does not actually add new lines to the current document:
(aset (or ...
I've had this in my init.el for a while:
(defun highlight-visual-line ()
(cons (progn (beginning-of-visual-line) (point))
(progn (end-of-visual-line) (point)))))
(setq hl-line-range-function 'highlight-visual-line)
This is assuming you use (global-hl-line-mode 1) to achieve that highlighting. I probably posted this as an ...
Thanks to @DoMiNeLa10's advice. I tried to add a local hook for text-scale-mode, it does work.
(defun my/text-scale-mode-hook ()
I've FINALLY got solution for this, but there is not related with line numbers.
All what I've done is just set another functions to j, k for evil. And it works almost perfect.
God, I'm sooo happy now.
There is solution for spacemacs
The doc string of whitespace-newline-mode (C-h f whitespace-newline-mode) 'includes:
(whitespace-newline-mode &optional ARG)
Toggle newline visualization (Whitespace Newline mode).
With a prefix argument ARG, enable Whitespace Newline mode if ARG
is positive, and disable it otherwise.
If called from Lisp, also enables the mode if ARG is ...
This is commonly referred to as "code foldlng" or just "folding". There are several packages that implement this behavior, and each one displays folded and foldable code in their own way, which may not be graphical. Remember, Emacs has deep roots in text, and graphic bells are whistles are still "new". Your favorite search engine should help you out, but ...