[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 24 - next line with wrapped lines
From: |
suvayu ali |
Subject: |
Re: Emacs 24 - next line with wrapped lines |
Date: |
Mon, 2 Jul 2012 17:57:24 +0200 |
On Mon, Jul 2, 2012 at 5:29 PM, Aurélien Aptel
<aurelien.aptel+emacs@gmail.com> wrote:
> On Mon, Jul 2, 2012 at 4:40 PM, Doug Lewan <dougl@shubertticketing.com> wrote:
>> One of the things that attracted me to emacs from the beginning is that you
>> can edit /files/. Most editors want you to edit /text/. The whole
>> visual-line thing was a big step backwards for me, but I've never known how
>> to undo it.
>
> Also if you don't want lines to wrap in any way you can add this to your
> .emacs:
>
> (setq truncate-partial-width-windows nil)
> (setq-default truncate-lines t)
>
Well, I wrap lines for modes meant for prose, and turn it off for
programming modes. These are my relevant configs:
(custom-set-variables
;; ...
'(truncate-lines t))
(add-hook 'text-mode-hook '(lambda() (visual-line-mode t)))
Cheers,
--
Suvayu
Open source is the future. It sets us free.