Sunday, February 20, 2011

Re: Using no hard line breaks

Hello Tim

Tim Chase <vim@tim.thechases.com> wrote on Sun, Feb 20, 2011 at 07:24:01AM -0600:
>On 02/20/2011 07:12 AM, Sebastian Humenda wrote:
>>>:h 'linebreak' and
>>>:h 'breakat'
>>With the correct key words (now), I found
>>http://vim.wikia.com/wiki/Word_wrap_without_line_breaks
>>Which essentially works, but I thought one could then threat the lines
>>as logical lines with<j> and<k>.
>
>I've seen many folks remap "j" and "k" (or <up> and <down>) to their
>screen-line motions "gj" and "gk" which will move as you expect.
>That leaves the other pair (if you remap j/k then up/down, or
>vice-versa) for traversing physical lines.
>
> :nnoremap <down> gj
> :nnoremap <up> gk
That's great, many thanks!

Sebastian
--
Test the free Latin-German dictionary | Teste das freie Latein-Deutsch-Wörterbuch!
Online: http://freedict.org/dict?Form=dict3&Database=lat-deu
More languages | mehr Sprachen: http://www.freedict.org

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: