about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-09-12 00:30:21 +0200
committerbptato <nincsnevem662@gmail.com>2022-09-12 00:30:21 +0200
commit51ea622d58bfca19212fac1800cfb033bb85ec39 (patch)
treeb75891690f67b190c60584751f2a30c96f342fdc /res
parente38402dfa1bbc33db6b9d9736517eb45533d595c (diff)
downloadchawan-51ea622d58bfca19212fac1800cfb033bb85ec39.tar.gz
Add JS binding generation
Diffstat (limited to 'res')
-rw-r--r--res/config.toml111
1 files changed, 56 insertions, 55 deletions
diff --git a/res/config.toml b/res/config.toml
index b19b3f8a..6f5343f1 100644
--- a/res/config.toml
+++ b/res/config.toml
@@ -6,61 +6,62 @@ double-width-ambiguous = false
 mark-color = "cyan"
 
 [page]
-q = 'QUIT'
-h = 'CURSOR_LEFT' 
-j = 'CURSOR_DOWN'
-k = 'CURSOR_UP'
-l = 'CURSOR_RIGHT'
-'M-[D' = 'CURSOR_LEFT'
-'M-[B' = 'CURSOR_DOWN'
-'M-[A' = 'CURSOR_UP'
-'M-[C' = 'CURSOR_RIGHT'
-'^' = 'CURSOR_LINEBEGIN'
-'$' = 'CURSOR_LINEEND'
-b = 'CURSOR_PREV_WORD'
-w = 'CURSOR_NEXT_WORD'
-'[' = 'CURSOR_PREV_LINK'
-']' = 'CURSOR_NEXT_LINK'
-H = 'CURSOR_TOP'
-M = 'CURSOR_MIDDLE'
-L = 'CURSOR_BOTTOM'
-';' = 'CURSOR_LEFT_EDGE'
-'+' = 'CURSOR_VERT_MIDDLE'
-'@' = 'CURSOR_RIGHT_EDGE'
-C-d = 'HALF_PAGE_DOWN'
-C-u = 'HALF_PAGE_UP'
-C-f = 'PAGE_DOWN'
-C-b = 'PAGE_UP'
-'M-[6~' = 'PAGE_DOWN'
-'M-[5~' = 'PAGE_UP'
-'>' = 'PAGE_RIGHT'
-'<' = 'PAGE_LEFT'
-C-e = 'SCROLL_DOWN'
-C-y = 'SCROLL_UP'
-J = 'SCROLL_DOWN'
-K = 'SCROLL_UP'
-'('= 'SCROLL_LEFT'
-')' = 'SCROLL_RIGHT'
-C-m = 'CLICK'
-C-j = 'CLICK'
-C-l = 'CHANGE_LOCATION'
-M-u = 'DUPE_BUFFER'
-U = 'RELOAD'
-r = 'REDRAW'
-R = 'RESHAPE'
-g = 'CURSOR_FIRST_LINE'
-G = 'CURSOR_LAST_LINE'
-z = 'CENTER_LINE'
-C-g = 'LINE_INFO'
-v = 'TOGGLE_SOURCE'
-D = 'DISCARD_BUFFER'
-',' = 'PREV_BUFFER'
-'.' = 'NEXT_BUFFER'
-M-c = 'COMMAND'
-'/' = 'ISEARCH'
-'?' = 'ISEARCH_BACK'
-n = 'SEARCH_NEXT'
-N = 'SEARCH_PREV'
+q = 'quit()'
+h = 'cursorLeft()' 
+j = 'cursorDown()'
+k = 'cursorUp()'
+l = 'cursorRight()'
+'M-[D' = 'cursorLeft()' 
+'M-[B' = 'cursorDown()'
+'M-[A' = 'cursorUp()'
+'M-[C' = 'cursorRight()'
+'^' = 'cursorLineBegin()'
+'$' = 'cursorLineEnd()'
+b = 'cursorPrevWord()'
+w = 'cursorNextWord()'
+'[' = 'cursorPrevLink()'
+']' = 'cursorNextLink()'
+H = 'cursorTop()'
+M = 'cursorMiddle()'
+L = 'cursorBottom()'
+';' = 'cursorLeftEdge()'
+'+' = 'cursorVertMiddle()'
+'@' = 'cursorRightEdge()'
+C-d = 'halfPageDown()'
+C-u = 'halfPageUp()'
+C-f = 'pageDown()'
+C-b = 'pageUp()'
+'M-[6~' = 'pageDown()'
+'M-[5~' = 'pageUp()'
+'>' = 'pageRight()'
+'<' = 'pageLeft()'
+C-e = 'scrollDown()'
+C-y = 'scrollUp()'
+J = 'scrollDown()'
+K = 'scrollUp()'
+'('= 'scrollLeft()'
+')' = 'scrollRight()'
+C-m = 'click()'
+C-j = 'click()'
+C-l = 'changeLocation()'
+M-u = 'dupeBuffer()'
+U = 'reloadPage()'
+r = 'redraw()'
+R = 'reshape()'
+g = 'cursorFirstLine()'
+G = 'cursorLastLine()'
+z = 'centerLine()'
+C-g = 'lineInfo()'
+v = 'toggleSource()'
+D = 'discardBuffer()'
+',' = 'prevBuffer()'
+'.' = 'nextBuffer()'
+M-c = 'commandMode()'
+C = 'command()'
+'/' = 'isearch()'
+'?' = 'isearchBack()'
+n = 'searchNext()'
+N = 'searchPrev()'
 
 [line]
 C-m = 'SUBMIT'