

There is a mvim command-line binary much like mate. MacVim with Janus has a lot of the features TextMate is known for. Placing the caret by mouse is easy, but there is probably a Vim command that will get you there faster without your hands leaving the keyboard.

And while the Vim model of copy and paste is confusing at first, with deletions being "copied" as well, and everything going into various registers, you should eventually try it out. You can position your caret with the mouse, or drag to resize splits.ĭo beware, though – if you get into the habit of saving with ⌘S, you will be very annoyed when you use command-line Vim in Terminal.app and constantly trigger "Export Text As…" instead. MacVim gives you OS X features like ⌘S to save, ⌘C and ⌘V for copy and paste, a proxy icon in the menu bar to drag-and-drop or right-click for the folder hierarchy, a dot in the red "close" button to indicate unsaved changes. I highly recommend everyone using TextMate to try MacVim with Janus. I was on the fence for a few weeks, but as I've learned Vim better, used more features and customized it further, I now feel at least as productive as I did in TextMate, and with much more room to grow. I've now been using Vim as my main editor for just over a month, following that method. Then as you learn Vim better, you can shed the training wheels. Instead, use MacVim and various plugins so you can start out closer to where you are now. Coming from TextMate and starting out with plain Vim means starting out unproductive. In "Everyone Who Tried to Convince Me to use Vim was Wrong", Yehuda Katz, co-author of Janus (and Ruby on Rails, jQuery etc), echoes my experience. He describes a setup with MacVim, a port of Vim that is well-integrated with OS X and Janus, a "MacVim distro", or set of plugins and ready-made configurations. Then about a month ago, I read Daniel Fischer's "A Starting Guide to VIM from TextMate". I'd feel unproductive enough that I couldn't make myself continue.

You can have both these things in Vim, but they were tricky to set up or to grasp. In TextMate, I would use ⌘T to quickly jump to a deeply-nested file by name, or use project-wide search to get it by content. It was less about the weird modal model (slicing and dicing text in command mode, writing new text in insert mode) and more that I couldn't get to the right file fast enough. So I tried Vim a few times, but never lasted the day.
Find textmate windows#
At work my Vim-wielding colleagues split windows with abandon. Every now and then there's a blog post about someone switching from TextMate and loving it. Then of late I became increasingly curious about Vim.

Find textmate code#
For more information see the Code of Conduct FAQ or contact with any additional questions or comments.I switched from Windows to OS X four years ago mostly because of TextMate. This project has adopted the Microsoft Open Source Code of Conduct.
