5

(setq visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow))


5

Why mark-end-of-sentence? I'd do it like this: (defun vim-line-yank-func() (interactive) (save-excursion (beginning-of-visual-line) (copy-region-as-kill (point) (progn (end-of-visual-line) (point)))))


5

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 (with-current-buffer "*Messages*" (visual-line-mode)) to your ~/.emacs instead.


3

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 ...


2

I've had this in my init.el for a while: (defun highlight-visual-line () (save-excursion (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 ...


2

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 () (eww-reload :local)) (add-hook 'eww-mode-hook (lambda() (add-hook 'text-scale-mode-hook 'my/text-scale-mode-hook nil :local)))


1

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 https://github.com/syl20bnr/spacemacs/issues/9557#issuecomment-327976596


1

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 ...


1

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 ...


1

You want spacemacs/toggle-visual-line-navigation. In addition to turning on visual-line-mode, it rebinds j/k to evil-next/previous-visual-line.


Only top voted, non community-wiki answers of a minimum length are eligible