shithub: vexed

Download patch

ref: 9bde8f24473f3de27b84af97eea401d7f93556c9
parent: 0ae68f0873a8cb4a40a5b621c7bbce31e156af58
author: phil9 <[email protected]>
date: Wed Dec 29 15:58:40 EST 2021

start looking from current selection instead of the start

--- a/vexed.c
+++ b/vexed.c
@@ -220,7 +220,7 @@
 		sbuf[nsbuf++] = 16*hexval(tmp[i]) + hexval(tmp[i+1]);
 	sbuf[nsbuf] = 0;
 	snprint(sstr, sizeof sstr, "/%s", tmp);
-	if(!search(0)){
+	if(!search(sel)){
 		sindex = -1;
 	}
 }