-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.txt
More file actions
54 lines (36 loc) · 1.12 KB
/
Copy pathREADME.txt
File metadata and controls
54 lines (36 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Diffident
=========
Copyright (C) 2009 by Andy Balaam
http://www.artificialworlds.net/wiki/Diffident
Diffident is a coloured side-by-side diff viewer and editor that works in a
terminal.
There are also plans to make it possible to edit patch files with Diffident.
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
----
You can find the source code, which is written in Python (making use of the curses module) here: http://github.com/andybalaam/diffident/tree/master
Contact
-------
Andy Balaam <axis3x3@users.sf.net>