inputdialog default string

2011-02-25 Thread Michael(Xi Zhang)
Hi, I use inputdialog in the following way: let findstring = inputdialog('Search string under source\ and include\ ',expand('')) execute 'vimgrep ' '/'.findstring.'/' '..\include\*.h *.[cs] ' The default string will be the word under cursor. Is there any way to set the default string to be

Re: inputdialog default string

2011-02-26 Thread Ben Schmidt
I use inputdialog in the following way: let findstring = inputdialog('Search string under source\ and include\ ',expand('')) execute 'vimgrep ' '/'.findstring.'/' '..\include\*.h *.[cs] ' The default string will be the word under cursor. Is there any way to set the default string to be the con