On 8/3/06, Eric Leenman <[EMAIL PROTECTED]> wrote:
I'm using page-up and page-down to scroll.
Also ctrl-home and ctrl-end.
This moves the cursor to the beginning of the line.
How can this be avoided.
I need to the cursor to stay where it is, as the lines are 1000+ characters
long
nmap <silent><PageDown> :exe "norm ".winheight(0)."j"<cr>
nmap <silent><PageUp> :exe "norm ".winheight(0)."k"<cr>
nmap <silent><c-home> :let x=col('.')<bar>1<bar>exe "norm ".x."<bar>"<cr>
nmap <silent><c-end> :let x=col('.')<bar>$<bar>exe "norm ".x."<bar>"<cr>
Yakov
P.S. You can also try to add
set ve=all