about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-11-15 23:42:20 +0100
committerbptato <nincsnevem662@gmail.com>2022-11-19 14:32:54 +0100
commita6bbcd0dd3f77b0e98527c1fa9e510a40acd954e (patch)
treeca55cc9079afbe788a61986e42d1a8d9d0bc7c2f /res
parente75f62b34f7c7f3127bcde0c4a12cbb785342dd9 (diff)
downloadchawan-a6bbcd0dd3f77b0e98527c1fa9e510a40acd954e.tar.gz
Rewrite buffer/pager for multi-processing
Diffstat (limited to 'res')
-rw-r--r--res/config.toml41
1 files changed, 23 insertions, 18 deletions
diff --git a/res/config.toml b/res/config.toml
index fb43d065..7d69d8dc 100644
--- a/res/config.toml
+++ b/res/config.toml
@@ -58,25 +58,30 @@ D = 'pager.discardBuffer()'
 '.' = 'pager.nextBuffer()'
 M-c = 'commandMode()'
 C = 'command()'
-'/' = 'pager.isearch()'
-'?' = 'pager.isearchBack()'
+'/' = 'pager.isearchForward()'
+'?' = 'pager.isearchBackward()'
 n = 'pager.searchNext()'
 N = 'pager.searchPrev()'
 
 [line]
-C-m = 'SUBMIT'
-C-j = 'SUBMIT'
-C-h = 'BACKSPACE'
-'C-?' = 'BACKSPACE'
-C-d = 'DELETE'
-C-c = 'CANCEL'
-M-b = 'PREV_WORD'
-M-f = 'NEXT_WORD'
-C-b = 'BACK'
-C-f = 'FORWARD'
-C-u = 'CLEAR'
-C-k = 'KILL'
-C-w = 'KILL_WORD'
-C-a = 'BEGIN'
-C-e = 'END'
-C-v = 'ESC'
+C-m = 'line.submit()'
+C-j = 'line.submit()'
+C-h = 'line.backspace()'
+'C-?' = 'line.backspace()'
+C-d = 'line.delete()'
+C-c = 'line.cancel()'
+M-b = 'line.prevWord()'
+M-f = 'line.nextWord()'
+C-b = 'line.backward()'
+C-f = 'line.forward()'
+C-u = 'line.clear()'
+C-_ = 'line.clear()'
+M-k = 'line.clear()'
+C-k = 'line.kill()'
+C-w = 'line.clearWord()'
+M-C-h = 'line.clearWord()'
+'M-C-?' = 'line.clearWord()'
+M-d = 'line.killWord()'
+C-a = 'line.begin()'
+C-e = 'line.end()'
+C-v = 'line.escape()'