I use VIM for all editing... half of which is saved on a Windows machine,
and the other half of which is saved through Samba on a Unix machine. Gvim
itself is running on windows.
I'm looking for something I can add to my vimrc that automatically calls
":set ff=unix" when I save to either the U:\ or V:\ drives (both mapped via
Samba to unix), and automatically calls ":set ff=dos" otherwise.
Thanks for any help!
--
View this message in context: http://old.nabble.com/Calling-%3Aset-ff%3Dunix-or-ff%3Ddos-based-on-save-location-tp27704784p27704784.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment