1

I am opening 3 windows using vimdiff with file1, file2, file3, etc. I would like to have file3 be in edit mode, and file1 and file2 to be in read only mode.

Is this possible?

This is my command...

vimdiff -R file1 file2 -c :topleft sp file3
Tom
  • 11
  • 2

1 Answers1

4

This worked for me:

vimdiff -R file1 file2 -c ':se noreadonly' file3
Alok Singhal
  • 93,253
  • 21
  • 125
  • 158