diff options
author | bptato <nincsnevem662@gmail.com> | 2023-09-26 16:52:57 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-09-26 16:54:46 +0200 |
commit | 2b47c6f5ac8d41a8025c10d02da4d6090e616a68 (patch) | |
tree | e97afd43206d14b058813d159dc1f53c59b8f20b /res | |
parent | ee17e946c53e6ca807dea2df04f8f2b9eedd754f (diff) | |
download | chawan-2b47c6f5ac8d41a8025c10d02da4d6090e616a68.tar.gz |
Add precnum support to more functions
Diffstat (limited to 'res')
-rw-r--r-- | res/config.toml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/res/config.toml b/res/config.toml index 89b42cbe..fbda89b6 100644 --- a/res/config.toml +++ b/res/config.toml @@ -77,9 +77,9 @@ b = 'pager.cursorPrevWord()' w = 'pager.cursorNextWord()' '[' = 'pager.cursorPrevLink()' ']' = 'pager.cursorNextLink()' -H = 'pager.cursorTop()' -M = 'pager.cursorMiddle()' -L = 'pager.cursorBottom()' +H = 'n => pager.cursorTop(n ?? 1)' +M = '() => pager.cursorMiddle()' +L = 'n => pager.cursorBottom(n ?? 1)' ';' = 'pager.cursorLeftEdge()' '+' = 'pager.cursorMiddleColumn()' '@' = 'pager.cursorRightEdge()' @@ -91,12 +91,12 @@ C-b = 'pager.pageUp()' 'M-[5~' = 'pager.pageUp()' '>' = 'pager.pageRight()' '<' = 'pager.pageLeft()' -C-e = 'pager.scrollDown()' -C-y = 'pager.scrollUp()' -J = 'pager.scrollDown()' -K = 'pager.scrollUp()' -'('= 'pager.scrollLeft()' -')' = 'pager.scrollRight()' +C-e = 'n => pager.scrollDown(n ?? 1)' +C-y = 'n => pager.scrollUp(n ?? 1)' +J = 'n => pager.scrollDown(n ?? 1)' +K = 'n => pager.scrollUp(n ?? 1)' +'('= 'n => pager.scrollLeft(n ?? 1)' +')' = 'n => pager.scrollRight(n ?? 1)' C-m = 'pager.click()' C-j = 'pager.click()' M-u = 'pager.dupeBuffer()' @@ -123,8 +123,8 @@ M-d = 'pager.discardTree()' M-c = 'pager.command()' '/' = 'pager.isearchForward()' '?' = 'pager.isearchBackward()' -n = 'pager.searchNext()' -N = 'pager.searchPrev()' +n = 'n => pager.searchNext(n ?? 1)' +N = 'n => pager.searchPrev(n ?? 1)' c = 'pager.peek()' u = 'pager.peekCursor()' C-w = ''' |