Skip to content

Compare with saved file

David-Apps edited this page Feb 24, 2022 · 6 revisions

This simple function compares the current buffer with the saved file.

#Compare the current buffer with the saved file
#usage: <diff
function+diff {
db0
w !diff -s - "$EB_FILE" | more
}