iTerm and VIM

Discussion in 'Mac Apps and Mac App Store' started by acidity, Feb 25, 2007.

  1. acidity macrumors regular

    Sep 7, 2006

    I have been using iTerm, vim, XFolders for last 2 weeks (after being a Windows GUI user for lifetime) and I like it.

    I have a question. Is it possible to do the following operation?

    (PS: This question pertains to XFolders and iTerm but it can apply for Finder + too)

    Whenever I select a text file (or any kinds of file), I want to start a new tab (or window of iTerm), start vim in the console with that file.

    Is this possible?
  2. rksprst macrumors member

    Jan 17, 2004
    Maybe doing it this way will work: install rcdefaultapps ( )

    then write a shell script that says "vim %"

    make the default app that opens .txt files that shell script

    ...totally not sure if this will work, but possibly?
  3. acidity thread starter macrumors regular

    Sep 7, 2006
  4. acidity thread starter macrumors regular

    Sep 7, 2006
    Looks like a hack. I will say that installing VIM from as and then set it from Finder. No need to write my own shell. But now I have to figure out if I can change the default keystroke for cycling between windows of same app from Command + ` to something of my preference.

    Probably I can do it with quicksilver but I dont know how to do it. New to quicksilver also :)

Share This Page