vim-utils / vim-man

View and grep man pages in vim
247 stars 32 forks source link

add map to redraw text of manpage #15

Open jebaum opened 9 years ago

jebaum commented 9 years ago

Addresses #14. Not sure if there's a better way to go about this, but it was the simplest thing that worked.

jebaum commented 9 years ago

This map seems to redraw just fine, but it would be nice if it also saved the cursor position, perhaps by saving a chunk of text around the cursor into a register, and silently searching for it after the redraw, since the line number and column number presumably will change. I'll look into that later today.