Questions tagged [visual-line-mode]

The tag has no usage guidance.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
1answer
660 views

Is it possible to have word-wrap as standard but truncate some lines in a buffer at the same time?

I'm working with large LaTeX tables in AucTEX and it would be helpful to display them in truncated lines, like here: The red marks are the "&" characters which separate the columns of the table. ...
3
votes
0answers
543 views

Visual-line-mode not working in spacemacs

I've seen a lot of questions relating to visual-line-mode not working in specific modes, e.g., org mode, but I can't get it to work in spacemacs in text mode. The relevant part of my .spacmacs file: ...
1
vote
0answers
30 views

Why can't I create a full-width overlay and display in the margins at the same time?

I want to create an overlay (or, to avoid X-Y problems, a multicolored, multilayered, visually distinct line at an arbitrary position that cannot be removed, like a page-break) that spans the entire &...
1
vote
0answers
23 views

Left-align text with `visual-line-mode` and `adaptive-wrap-prefix-mode`

When I use visual-line-mode in conjunction with adaptive-wrap-prefix-mode, the wrapped text is not perfectly left-aligned (i.e. the text is not on a straight edge). Instead, it looks like this: Is it ...
1
vote
0answers
80 views

Swiper go to next matching line instead of next match?

When I use swiper to search and I press the down arrow key, it always goes to the next match even if that match is on the same line. Is there an easy way to go to the next line that has a match ...
1
vote
0answers
156 views

Make adaptive-wrap tab aware

I am switching to AUCTeX as my LaTeX editor and need tab-aware automatic line wrapping. From this question on stackoverflow I gathered that adaptive-wrap is basically what I need. How can I make ...
1
vote
0answers
413 views

Org column-view with visual-line-mode?

I want to enable visual-line-mode for use with org-column-view, so that the text under each headline wraps underneath. Here is a sample "shopping list" to illustrate what I mean: Notice how the item'...
0
votes
0answers
40 views

Scroll by visual line in `centered-cursor-mode`?

Mouse scrolling with visual-line-mode in centered-cursor-mode is jumpy as anything when you're writing prose. A single line of text can be 10 or more visual lines. Editing in refill-mode or auto-fill-...
0
votes
0answers
15 views

Fontlock markup disappers when visual line is active

I have the following setting in my .emacs.d folder. (defface org-commentary '((t :foreground "tan1")) "Face for commentary text in org mode") (defface org-commentary-delimiter ...
0
votes
0answers
54 views

Visual-line-mode and org-indent-mode are not working together

If I understand correctly, the documentation says the visual-line-mode should now play nicely with org-indent-mode. That is not the case for me. It seems very buggy! Note when I first collapse all ...
0
votes
0answers
24 views

Truncate/Wrap current line

Is there a way to wrap the current line only? I know toggle-truncate-lines will work on entire buffer, but I would only want to work on a single line specifically.
0
votes
0answers
73 views

Strange behavior with .txt files in Doom Emacs

In Doom Emacs, I have (add-hook 'text-mode-hook 'visual-line-mode t) in my config.el file. Files with a .txt extension act strangely, though. When the file is first opened, visual-line-mode is ...
-1
votes
1answer
697 views

Cannot enable visual line mode globally

I would like visual-line-mode to be always on. For this reason I put in the very end of my init.el file the following line of code (global-visual-line-mode 1) (as suggested here). Anyway, the above ...