On Mon, Feb 27, 2012 at 01:08:45PM -0800, Shlomi Fish wrote:
> Hi all.
> 
> «exe normal "?\r\n"» changes the direction of the search to backwards
> from the ":" command line, but not from within a function.
> 
> For example, with this vimscript file (called test.vim):
> 
> [QUOTE]
> function! Test_back_search()
>     exe "normal ?\r\n"
> endfunction
> [/QUOTE]

This is likely related to ":help function-search-undo".

-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui