Compare two files in vim, already opened in split windows Posted on June 11, 2007 in Vim Type diffthis in both windows to enter diffmode, voila :) vim split compare Like this article? Share it with your friends! Please enable JavaScript to view comments.