I recently decided to change the default editor for text files from SubEthaEdit to Vim. I like SubEthaEdit. However, since I use the command-line Vim for almost all of my editing, I figured it would make sense to use the graphical version for editing files in the GUI.
After I installed Vim.app, I discovered that it was not a choice in the Open With menu. After a little digging around, I figured out that I could fix this by editing Vim’s Info.plist file. I still can’t set Vim as the default editor for any file type, though. When I try doing that, it automatically changes the default editor to TextEdit. Does anyone know what’s going on here?
7 Comments
here i am, always commenting to communicate, not to actually comment. :-)
anyway, you need to go see the mountain goats at the doug fir next week so i can live vicarously through you.
in other news, lindsey, being awesome, bought me the new sufjan stevens album as a going away present. i dig it, especially since it is illinois. we should work on getting me to see him with you when you go.
rock.
My e-mail address and IM info is now in the sidebar. ;-)
snap!
email me if you want to discuss the above.
My favourite text editor is TextMate, http://macromates.com/
It’s wicked pwerful and still really easy to use.
a thread regarding text editors CAN NOT maintain this level of civility.
let’s do this right, shall we?
Pico rules~!
editing the plist to show up in the “open with” menu is only half the battle. there is still stuff missing.
i found i had to add the CFBundleGetInfoString, change the CFBundleSignature, and all NSPrincipalClass (I stole this and all the file types from the emacs info.plist file… was that bad?)
Now it “sticks” when I click on “change all” in get info window.
Hope that helps.
Travis sent me his plist file last night. It works!
One Trackback
[...] In June, I was feeling frustrated because I couldn’t figure out how to get Vim working correctly on my machine. [...]