Sneaky patching source with Macports
问题 For almost as long as I've been using vim and have known enough C, I've customised the installed vim to remove a 'feature' that annoys me. When I switched to using a Mac with macports, I achieved this by uninstalling any previous vim port, fetching the source, manually editing the source and then having Macports continue the installation, using my freshly customised source. sh> sudo port uninstall vim sh> sudo port fetch vim sh> sudo /usr/bin/vim /opt/local/wherever/port/put/the/source/file.c