Merge pull request #4 from tek/dev

remove func_def escape sequence from search history
thx @tek
This commit is contained in:
David Halter
2012-09-20 10:51:59 -07:00

View File

@@ -81,6 +81,8 @@ if 1:
vim.command(r'try | %%s/%s/\1/g | catch | endtry' % regex)
vim.current.window.cursor = cursor
PYTHONEOF
call histdel("search", -1)
let @/ = histget("search", -1)
endfunction