- Add comprehensive diff_viewer module with split-panel interface
- Replace simple `git diff` in `gg d` command with interactive viewer
- Implement two-mode navigation system:
* File list mode: navigate files with j/k, Enter to view
* Content mode: scroll diff content with j/k, ESC to return
- Support both tracked and untracked file diffs with proper handling
- Add color-coded diff display (green additions, red deletions)
- Include terminal raw mode handling for responsive keyboard input
- Add test files for diff viewer functionality
8 lines
167 B
Plaintext
8 lines
167 B
Plaintext
hello world
|
|
This is a test file for the grep command
|
|
It contains multiple lines
|
|
Boyer-Moore algorithm
|
|
testing the grep
|
|
This is a test change
|
|
Modified test.txt content
|