Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does Org-mode of Emacs support linewrapping?

I know in the "regular" mode of Emacs there will just be a little sideways-u-turn on the right and on the left on the line after, and there's no scrolling necessary.

However, there are only arrows pointing left and right. Any ideas?

share|improve this question
up vote 18 down vote accepted

The default mode for org-mode is truncate-lines mode.

You can customize this behaviour with org-startup-truncated. Type F1-v org-startup-truncated for a description, and then click on the customize link to change it.

share|improve this answer
thanks - I just set it to "nil" by going <CTL>-h v: org-startup truncated. – kalaracey Jun 22 '11 at 14:24
for one-off, evaluating the following expression did the trick for me: (setq truncate-lines 'nil) – vitaly Aug 13 '14 at 21:43

You can also toggle it on-the-fly with the command toggle-truncate-lines, between the normal Emacs view and the normal org view. For example, use this:

(define-key org-mode-map "\M-q" 'toggle-truncate-lines)

M-q is bound to fill-paragraph by default, but probably you don't want to use it within org-mode.

share|improve this answer

Try adding (global-visual-line-mode t) to your init file.


share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .