Tim Chase wrote: > The really ugly case occurs when a single very-long-but-wrapped > line occupies more than the entire screen. You're then stuck > using gj/gk to navigate by screen-lines instead of using j/k to > navigate by file-lines. I've seen folks remap j/k (or > <up>/<down>) to gj/gk to make this less noisome. I map them on > the fly if I need them.
I have the following maps for that purpose: noremap <up> g<up> noremap <down> g<down> So thak <down> and j (resp. <up> and k) behave slightly differently (in the case of wrapped lines): - <up> and <down> (cursor arrows) move up and down by line (on screen). - k and j to move up and down by line (in file). -- Dominique --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
