mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user