mirror of
https://github.com/FAUSheppy/config
synced 2025-12-07 07:21:37 +01:00
fixed cursor movement in dia search
This commit is contained in:
3
vim/rc
3
vim/rc
@@ -143,8 +143,9 @@ for tmp in llist[0]:
|
|||||||
break
|
break
|
||||||
l = llist[0][i:]
|
l = llist[0][i:]
|
||||||
#escaped \ for py AND vim
|
#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
|
endpython
|
||||||
return tmp
|
return tmp
|
||||||
endif
|
endif
|
||||||
|
return "echo ''"
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user