MCPcopy Index your code
hub / github.com/philc/vimium / goPrevious

Function goPrevious

content_scripts/mode_normal.js:258–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256 },
257
258 goPrevious() {
259 const previousPatterns = Settings.get("previousPatterns") || "";
260 const previousStrings = previousPatterns.split(",").filter((s) => s.trim().length);
261 const target = findElementWithRelValue("prev") || findLink(previousStrings);
262 if (target) followLink(target);
263 },
264
265 goNext() {
266 const nextPatterns = Settings.get("nextPatterns") || "";

Callers

nothing calls this directly

Calls 5

findElementWithRelValueFunction · 0.85
findLinkFunction · 0.85
followLinkFunction · 0.85
getMethod · 0.80
filterMethod · 0.45

Tested by

no test coverage detected