Re: Programatically executing a search and storing regular expression

2010-08-02 Thread Tim Johnson
* John Beckett johnb.beck...@gmail.com [100801 20:32]: Tim Johnson wrote: What do I need to add the the command strings above that 'stores' the regular expression? An example is here (you set the @/ register): http://vim.wikia.com/wiki/Search_for_visually_selected_text Thanks John `:h

Programatically executing a search and storing regular expression

2010-08-01 Thread Tim Johnson
Here is the snippet from from a function that I wrote: function! StdNextFunction() let fileType = ft if fileType == 'taglist' execute '/function' execute ':nohls' elseif fileType == 'php' execute '/function ' execute ':nohls' I bind this to gn I

RE: Programatically executing a search and storing regular expression

2010-08-01 Thread John Beckett
Tim Johnson wrote: What do I need to add the the command strings above that 'stores' the regular expression? An example is here (you set the @/ register): http://vim.wikia.com/wiki/Search_for_visually_selected_text John -- You received this message from the vim_use maillist. Do not top-post!