Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

3 Answers 3

up vote 13 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
1  
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 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.

See http://www.emacswiki.org/emacs/VisualLineMode

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.