about summary refs log tree commit diff stats
path: root/bonus/w3m.toml
Commit message (Collapse)AuthorAgeFilesLines
* pager: rework D/discard bufferbptato2024-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | The previous solution had the issue that it switched between "delete buffer, then move back" and "delete buffer, then move forward" depending on whether the buffer was the root of the buffer tree, which made its behavior quite unpredictable. Now the pager (sort of) remembers the direction you are coming from, and D moves in that direction. So e.g.: * Enter, D just moves back to where you were coming from (as before) * Comma, D deletes the previous buffer, then returns to the current buffer If no buffer exists in the target direction, then we alert. Also, new commands are: `d,' `d.'. They do the same thing the non-d-prefixed variations do, but also delete the current buffer. Useful if you're no longer sure where you are coming from, but know where you want to go. (`d,' in particular is equivalent to w3m's `B'.)
* config: improve input systembptato2024-03-261-83/+98
| | | | as described in <https://todo.sr.ht/~bptato/chawan/6>
* pager: add "open in editor" keybinding (sE)bptato2024-03-141-1/+9
| | | | | | only for source for now, rendered document is a bit more complicated (also, get rid of useless extern/editor module)
* bonus/w3m.toml: emacs-style page-up/downbptato2024-03-011-4/+6
| | | | this is more or less how it works in w3m
* Re-design word handling, add e, E, W, B, etc.bptato2024-01-191-1/+1
| | | | | | | | | | | | * 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.
* pager: add marksbptato2023-12-091-1/+29
| | | | | Default is vi-style, but w3m-style marks work as well; see bonus/w3m.toml.
* container: add cursorNthLink, cursorRevNthLinkbptato2023-10-141-15/+2
|
* update w3m.tomlbptato2023-10-091-26/+39
|
* config: allow modification through JSbptato2023-08-271-1/+4
| | | | | | | This used to be possible until I moved everything under separate headers to their respective objects. Now it works again, mostly; modification of some attributes is still missing.
* w3m.toml: fix quitbptato2023-02-051-2/+2
|
* Add ask()bptato2023-01-051-1/+1
|
* pager: proxy values in container; js: bugfixesbptato2022-12-201-0/+77
Also, a little bonus: w3m keybindings