about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-12-11 02:14:33 +0100
committerbptato <nincsnevem662@gmail.com>2022-12-11 02:16:13 +0100
commit087227028f85db2fd5878caf87e3032302c95a30 (patch)
tree9ed59704bdb157d662a6f69db71894a4cd9827e5 /res
parentc4b421daf0a516852fc670826dceffb5c0d38ea8 (diff)
downloadchawan-087227028f85db2fd5878caf87e3032302c95a30.tar.gz
Fixes & QOL improvements
* fix infinite loop after closing buffer
* fix setx not triggering hover updates
* fix D not going back to PREV but to parent
* add M-d, M-,, M-., M-/ for old D behavior, cycle through siblings,
  back to parent
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 fa641f25..bf2d231c 100644
--- a/res/config.toml
+++ b/res/config.toml
@@ -61,7 +61,7 @@ C-k = 'pager.load("ddg:")'
 U = 'pager.reload()'
 r = 'pager.redraw()'
 R = 'pager.reshape()'
-C-cC-c = 'pager.cancel()'
+C-c = 'pager.cancel()'
 1G = 'pager.cursorFirstLine()'
 g = 'pager.cursorFirstLine()'
 G = 'pager.cursorLastLine()'
@@ -69,8 +69,12 @@ z = 'pager.centerLine()'
 C-g = 'pager.lineInfo()'
 v = 'pager.toggleSource()'
 D = 'pager.discardBuffer()'
+M-d = 'pager.discardBuffer(true)'
 ',' = 'pager.prevBuffer()'
+'M-,' = 'pager.prevSiblingBuffer()'
 '.' = 'pager.nextBuffer()'
+'M-.' = 'pager.nextSiblingBuffer()'
+'M-/' = 'pager.parentBuffer()'
 M-c = 'pager.command()'
 C = 'pager.commandMode();console.show()'
 '/' = 'pager.isearchForward()'