Releases: dlvhdr/diffnav
v0.6.0
Unified Diff Mode Toggle
Thanks to @markdorison 🙏🏽 diffnav now supports toggling between side-by-side and unified diff modes.
Press s to switch between the two or use the --side-by-side and --unified flags.
You can also set this in the config file under ui.sideBySide.
Changelog
v0.5.0
v0.4.0
Switch focus between panes, config file, mouse support and more!
This release is brought to you by @pablospe who made some serious improvements across the board!
Thank you @pablospe, your work is really appreciated! <3
Focus Switching
You can now switch focus between the file tree and the diff by hitting tab.
This lets you use a wider set of movement keybinds like actually navigating one line at a time with j/k.
Config File
diffnav now has a config file (check the readme on how to set it up).
It lets you hide the footer/header, hide the file tree by default or set its width.
Mouse Support
You can now click the files in the tree or scroll the diff with your mouse!
Again, this was all done by @pablospe so give him some love!
Changelog
- ccb29e8 Revert "fix: prevent j/k from scrolling inactive panel"
- 3a431de chore: add funding configuration for GitHub
- 37a52c1 feat: add config option to hide header
- e5efc99 feat: add more config options
- 8d516cd feat: add mouse support (#49)
- 60f5aa3 feat: add panel switching with h/l and arrow keys
- bfc0ef1 feat: convert config to YAML and nest under ui key
- 600d8ed feat: improve config file discovery
- 090abfc feat: make ctrl+d/ctrl+u global for diff scrolling
- 23b3000 feat: replace h/l panel switching with Tab toggle
- d6b2e73 fix: improve file tree selection styling
- cad6633 fix: isolate panel navigation to prevent cross-scrolling
- 803f7a8 fix: prevent delta colors from bleeding into file tree panel
- a07e104 fix: prevent j/k from scrolling inactive panel
- f5f8972 refactor: use ansi.Truncate instead of custom implementation
- e939dcf refactor: use camelCase for config keys
- 08a7356 style: capitalize TAB in footer help