Constantly needing to edit files on remote systems? Find it tasking and annoying to edit localy and upload via ftp or ssh? Want to use your favorite editor to edit the files on the remote system rather than relying on the remote ‘vi’ or ‘nano’? MacFUSE and Macfusion can be a very powerful tool that can remedy all of the above. Below is a quick tutorial on how to setup and use it.
Download and install: MacFUSE and Macfusion
Enable Macfusion to run at startup and enable the menu item for quick mounting and remote file system access. Run Macfusion –> Preferences –> General –> ‘When I login, start’ –> ‘the macfusion agent’ and ‘the macfusion menu item’.
After reboot you will see a new Icon in your Menu Bar. If you select it, it will look something like…
Here you can see your various options and current mounted file systems. To setup a connection to a server, ‘Macfusion Menu Item’ –> ‘Open Configuration …’ –> ‘+’ –> Select connection type: SSHFS/FTPFS.
Configure the Connection Name, Hostname, User Name, Password.
Whalla! You should be all setup and able to edit and browse the files as if it was a local file system. Works great with your favorite editor (in this case TextMate).
TextMate tweak to prevent remote meta data files that can slowly make a mess out of the file system. Copy and paste the below line in the command line.
defaults write com.macromates.textmate OakDocumentDisableFSMetaData 1
TextMate Manual on Saving Files. TextMate Manual
To view hidden files via finder add the following line on the command line.
defaults write com.apple.finder AppleShowAllFiles TRUE
Original Source: http://minimaldesign.net/articles/read/remote-textmate-projects