fixed cursor movement in dia search

This commit is contained in:
Sheppy
2016-10-30 17:48:35 +01:00
parent 71dcc76f84
commit 24c790d453

3
vim/rc
View File

@@ -143,8 +143,9 @@ for tmp in llist[0]:
break
l = llist[0][i:]
#escaped \ for py AND vim
vim.command('let tmp=":execute \'normal gg/[A-Z]\\\\+%s.*:\\<cr>\'"'% l)
vim.command('let tmp=":execute \'normal /[A-Z]\\\\+%s.*:\\<cr>``\'"'% l)
endpython
return tmp
endif
return "echo ''"
endfunction