[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a way to move to next line in wrapped text?
From: |
Jeff |
Subject: |
Re: Is there a way to move to next line in wrapped text? |
Date: |
Tue, 06 Jan 2004 21:50:56 GMT |
User-agent: |
Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) |
On Tue, 06 Jan 2004 15:12:06 -0500, Benjamin Rutt wrote:
> marc0@autistici.org (Marco Parrone (marc0)) writes:
>
>> (defun forward-79-chars ()
>> (interactive)
>> (forward-char 79))
>>
>> (defun backward-79-chars ()
>> (interactive)
>> (backward-char 79))
>
> You can replace 79 in code above with something like (window-width),
> which will also work if you have any non-80-column windows around.
Damn, you guys are good. It works _exactly_ the way I want (I bound C-M-p
and n and used (window-width).
Thanks!
-Jeff