<-- Back to Andy Balaam Home

Diffident

Diffident is a coloured side-by-side diff viewer and editor that works in a terminal:

Download

https://codeberg.org/andybalaam/Diffident/releases

Usage

To compare two files:

 diffident file1 file2

To run the tests:

 diffident --test-slow

For full usage information:

 diffident --help

Keyboard shortcuts

                Help - SHIFT-H
                Quit - q
     Move left/right - h/l or Arrow Keys
        Move up/down - k/j or Arrow Keys
 Select line up/down - K/J
       Next/Previous - n/p or F8/F7
        Page up/down - ,/. or PageUp/Down
 Select page up/down - </>
   Scroll left/right - z/x
     Copy left/right - [/]
         Insert line - a  (Adds a line above the selected line)
      Delete line(s) - d
        Save changes - s  (Saves the file containing the cursor)

Code

https://codeberg.org/andybalaam/Diffident

Contact

Andy Balaam http://artificialworlds.net

Return to Andy Balaam's home page

Edit | History | Print | Recent Changes | Search | Admin Page last modified on November 04, 2022, at 03:11 PM