I've been using vedit for many years. This one has me stumped. I've written an interactive macro that prompts user for various input fields. One of these is an address. I take user input into a register and use that to search a file. The file is displayed with cursor on selected item in visual mode. User verifies correctness of items and selects first line then visual exit.
Problem is no matter what I have tried, the selected item is near the bottom of window. I don't want the user to have to scroll window, although alt-down does that nicely it's another key combination he has to remember.
A normal search selects close to top of window as does anything I try using short macro testfiles. I'm using a reserved window in macro proper. I've tried dov("\sd\") and that isn't helping although it works in my test macro.
Anyone have any ideas.
Dave Cohen
|
|