On Apr 28, 2010, at 1:51 AM, Jürgen Krämer wrote:
cmap <expr> * (getcmdpos() == 1) ? line('w0') . ',' . line('w$') : '*'
Even better! I, too, have a scrolloff option set (like James Cole mentioned) and so this solution works perfectly for me.
Thanks Jürgen. Regards, Duane -- 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
