Edit in MacVim for Ubiquitous use in Cocoa Applications

Vim Gloss 128

Over at the vim_mac Google Group they got MacVim’s own version of Edit in TextMate (see this post) working.

To install:

  1. Install MacVim
  2. Download and mount this disk image here.
  3. In the terminal do:

  4. defaults write org.slashpunt.edit_in_odbeditor ODBEditorBundleIdentifier “org.vim.MacVim”
  5. defaults write org.slashpunt.edit_in_odbeditor ODBEditorName MacVim
  6. sudo mkdir /Library/InputManagers
  7. sudo cp -pR “/Volumes/Vim/Edit in ODBEditor” /Library/InputManagers
  8. sudo chown -R root:admin /Library/InputManagers

Then restart the applications you want to use it in and try it out. It works basically the exact same way as in Edit in TextMate so check out my post here, the only difference in that it’s Control-Command-Shift-E to use it. Enjoy!

On a related note: anyone who uses Vim and Twitter will like my script that I wrote available here.

Similar Posts:

I Like This Tip!


3 Responses to “Edit in MacVim for Ubiquitous use in Cocoa Applications”

  1. This looks pretty sexy (http://macvim.googlecode.com/files/MacVim-screenshot-9.jpg).

    I may have just found my new text editor :).


  2. Trackback
    VIM Tutor: Learn how to use VIM (powerful text editor) through Practice - MacTips

    [...] it more often, on the Mac we have the great port MacVim. And for further use of (Mac)Vim check out how to use it ubiquitously in cocoa applications. digg_bgcolor = ‘#fff’; digg_skin = ‘compact’; digg_topic = ‘apple’; E-mail This - [...]


  3. 4Avatars
    nico
    Note that MacVim includes an installer for the InputManager since snapshot 23 (MacVim->Preferences->Integration), so all that Terminal-fu is no longer required. And I hear MacVim snapshot 24 will include a more stable InputManager as well.

Post a comment to "Edit in MacVim for Ubiquitous use in Cocoa Applications"



MacTips Newsletter


Twitter MacTips

  • Stay up to date with the latest Mac tips, tricks and news by following us on twitter: MacintoshTips.

AppleGazette Headlines

Most Popular Tips (30 Days)

Most Commented (30 Days)

Good Tips

Recent Discussions

MacTips Poll

What level of tips would you like to see?

View Results

Loading ... Loading ...

Friends of MacTips

Subscribe to MacTips

Site Links