about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-12-20 23:26:54 +0100
committerbptato <nincsnevem662@gmail.com>2022-12-20 23:26:54 +0100
commit7eee2e1f8c87232b13e68dc3ac398e8fd76ea5f9 (patch)
treeee6f6682bcfd6e6e0a5c70d5e341380cc4c54110 /res
parent18350159ad39c25d8acf6d9abdc4084592d58a21 (diff)
downloadchawan-7eee2e1f8c87232b13e68dc3ac398e8fd76ea5f9.tar.gz
pager: proxy values in container; js: bugfixes
Also, a little bonus: w3m keybindings
Diffstat (limited to 'res')
-rw-r--r--res/config.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/res/config.toml b/res/config.toml
index dd15aebc..27589198 100644
--- a/res/config.toml
+++ b/res/config.toml
@@ -3,6 +3,9 @@ visual-home = "about:chawan"
 run-script = ""
 headless = false
 
+[search]
+wrap = true
+
 [external]
 tmpdir = "/tmp/cha"
 editor = "vi %s +%d"
@@ -46,7 +49,7 @@ H = 'pager.cursorTop()'
 M = 'pager.cursorMiddle()'
 L = 'pager.cursorBottom()'
 ';' = 'pager.cursorLeftEdge()'
-'+' = 'pager.cursorVertMiddle()'
+'+' = 'pager.cursorMiddleColumn()'
 '@' = 'pager.cursorRightEdge()'
 C-d = 'pager.halfPageDown()'
 C-u = 'pager.halfPageUp()'
@@ -93,6 +96,7 @@ n = 'pager.searchNext()'
 N = 'pager.searchPrev()'
 c = 'pager.peek()'
 u = 'pager.peekCursor()'
+C-w = 'config.searchwrap = !config.searchwrap; pager.alert("Wrap search " + (config.searchwrap ? "on" : "off"))'
 
 [line]
 C-m = 'line.submit()'