about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-15 11:07:44 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-15 11:07:44 +0100
commit5d95938a2fbf1bbc1f4ce05993da3e8dc9da6261 (patch)
treea707a20eae1dc98d581fe79cec93abdbe9e0c0a4
parentec8bd20cbbf617fa9f39d18b69010f1dbb717b20 (diff)
downloadchawan-5d95938a2fbf1bbc1f4ce05993da3e8dc9da6261.tar.gz
config.toml: fix sE binding
-rw-r--r--res/config.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/config.toml b/res/config.toml
index 618a3847..c9cc7c09 100644
--- a/res/config.toml
+++ b/res/config.toml
@@ -124,7 +124,7 @@ C-e = 'n => pager.scrollDown(n)'
 C-y = 'n => pager.scrollUp(n)'
 sE = '''
 () => {
-	const url = url.pathname;
+	const url = pager.url;
 	pager.extern(pager.getEditorCommand(url.protocol == "file:" ?
 		url.pathname :
 		pager.cacheFile));