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
:inoremap <down> <c-o>gj
:inoremap <up> <c-o>gk
You can read up on them at
:help gj
:h gk
-tim
--
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