Open
Description
Some things I think are missing from the diff workflow. Mostly here for discussion and so I don't forget to implement them. Can be broken up into separate issues as necessary (feel free to edit this post).
asm-differ
flags
-
--make
(requires some restructuring of config structs likeBuildConfig
) -
--watch
-
--width
-
--threeway=prev
-
--threeway=base
-
--diff_mode=single
-
--compress-matching
-
--no-pager
-
--format {color,plain,json}
(not sure about HTML)
Pager features
- Center the view on the first change at startup
- Navigate between changes with
]
and[
- Vim-like search (
/
or?
to enter a string, Enter to confirm,n
andb
to navigate results) - Something to go to the top or bottom of the entire diff. In Vim this is
G
andgg
but I'm not sure if we want multi-character keystrokes.
UI
- Help page with scroll and search features, maybe
h
to activate? - Show number of changes in a status bar somewhere ("1 of 5"). When the view changes, update to the first change in the view (from top to bottom).
- Show delta in percentage since the last change (red "▼x.xx%" or green "▲x.xx%")
- Show difference in bytes (raw bytes or as KB, not sure).
asm-differ
shows score frommax_score
down to 0 but I don't find that very useful personally. - Toggle relaxed relocations with a hotkey