-
Notifications
You must be signed in to change notification settings - Fork 2
diffbar
monsterkodi edited this page May 21, 2017
·
7 revisions
ko displays git diff status in the line numbers:
- red: deleted lines
- green: changed lines
- blue: inserted lines
the differences are calculated when the file is loaded or changed on disk. while editing, the difference markers are moved relatively, so older (saved) changes are displayed accurately, but the newer ones only show when the file is saved.
press ⌘U
to toggle selected or cursor lines between committed and saved state.
click on a changed line number to toggle the whole block of changes.
hold ^
to toggle only the clicked line.