diff options
author | bptato <nincsnevem662@gmail.com> | 2024-01-19 01:43:46 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-01-19 01:53:28 +0100 |
commit | 3c156384bade3e0e86a837b1b423d401af3cfdd2 (patch) | |
tree | f8cd1b8e82510a0bb2ef1a02de877f00617c965e /bonus | |
parent | 58ae65ed182a8a78d67756ec62f30261b9ef6c87 (diff) | |
download | chawan-3c156384bade3e0e86a837b1b423d401af3cfdd2.tar.gz |
Re-design word handling, add e, E, W, B, etc.
* Add functions for moving to the beginning/end of words (vi `b', `e'). * As it turns out, there are many possible interpretations of what a word is. Now we have a function for each reasonable interpretation, and the default settings match those of vi (and w3m in w3m.toml). (Exception: it's still broken on line boundaries... TODO) * Remove `bounds` from lineedit, it was horrible API design and mostly useless. In the future, an API similar to what pager now has could be added. * Update docs, and fix some spacing issues with symbols in the tables.
Diffstat (limited to 'bonus')
-rw-r--r-- | bonus/w3m.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bonus/w3m.toml b/bonus/w3m.toml index 63b07ecc..5a92b8c8 100644 --- a/bonus/w3m.toml +++ b/bonus/w3m.toml @@ -24,7 +24,7 @@ C-a = 'pager.cursorLineBegin()' '$' = 'pager.cursorLineEnd()' C-e = 'pager.cursorLineEnd()' w = 'pager.cursorNextWord()' -W = 'pager.cursorPrevWord()' +W = 'pager.cursorWordBegin()' '<' = 'n => pager.pageLeft(n)' '>' = 'n => pager.pageRight(n)' '.' = 'n => pager.scrollLeft(n)' |