---
title: Neat Trick with QuickCursor, SSH, ViM and TextMate
author: George Mandis <george@mand.is>
date: 2011-06-08
description: How to SSH into a server and use TextMate to edit a file using QuickCursor
tags: post
---

<img src="/media/2011/quickcursor.vim.textmate.png" alt="" class="right"/>

If you're like me and find yourself needing to SSH into servers on a daily basis but occasionally wish you could edit things in TextMate instead of [vim][vim] simply because those macros and shortcuts are hard-coded into your muscle memory, this trick might be for you.

The three apps you'll need:

- Terminal (duh)
- [TextMate][textmate] (duh)
- [QuickCursor][quickcursor] (aha!)

It's really quite simple.  With QuickCursor you can use your favorite text editor in any application via a keyboard shortcut.  All you have to do is: 

- SSH into your server
- Start editing the file in vim
- Launch TextMate via the QuickCursor shortcut.
- Make your edits, save, close and your new text is loaded into vim!

Maybe that should have been an obvious process, but it was a real eureka moment when I realized I could do this. Up until this point I've mostly used it to quickly format emails and things, but this little trick suddenly makes it a much more useful tool for me.  

Totally worth the $4.99.


[quickcursor]:http://www.hogbaysoftware.com/products/quickcursor
[textmate]:http://macromates.com/
[vim]:http://www.vim.org/