Gandhi was vehemently opposed to the Partition of India and tried to avoid it. But what was his stance on it once it had happened? Did he accept it as fait accompli or did he envision some scheme for re-unification in the future? Did he express his views on the matter in print before he was murdered?
Gandhi accepted partition, but deeply deplored the communal violence that was taking place at that time. In fact, he had been scheduled to leave for a "peace march" to Lahore from Delhi, but was killed just four days before he could begin the march. He had also pleaded before the Government of India to try and maintain friendly relations with the Government of Pakistan.
However, I am not sure that Gandhi was as vehemently opposed to partition as it is generally believed. Had the partition plan not had Gandhi's passive support, it would surely have been vetoed by the Congress, since Gandhi was still its unquestionable leader. It appears that he acquiesced to the partition plan only to avoid communal tension.
As for views in print, since Gandhi himself edited the paper Harijan, I expect there to be some written record. But I have not been able to find it yet. If I get something, I will update my answer.
Update: I have added a few quotes from Gandhi's speeches. They have been taken from Collected Works of Mahatma Gandhi, so in case you disagree with my conclusions, feel free to respond with additional quotes/reasons.
Note on Gandhi's speech at Congress Working Committee on June 2, 1947
Refer to Gandhi's speech at prayer meeting on June 4, 1947
From another letter by Gandhi on June 2, 1947
His views in the Harijan are as follows::
“Like other groups of people in this country, Muslims also have the right of self determination. We are living here as a joint family and hence any member has the right to get separated (Harijan, April 6, 1940).”
“If majority of the Muslims of this country maintain that they are a different nation and there is nothing common with the Hindus and other communities, there is no force on the earth that can alter their view. And if on that basis, they demand partition that must be carried out. If Hindus dislike it, they may oppose it. (Harijan, April 18, 1942)”