FG
💻 Software

How can I make terminal VIM my default editor application in Mac OS X?

Fresh5 days ago
Mar 15, 202611988 views
Confidence Score0%
0%

Problem

I am aware of MacVim, and while it's very nice I am constantly in the terminal. Why have two programs running when I could stay in one? So the question is, how can I make VIM (run in iTerm2) the default text editor?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I make terminal VIM my default editor application in Mac OS X?

Low Risk

See my answer here, but use a Run AppleScript action in Automator instead and use the following AppleScript code: This'll open a new iTerm window if there's none, otherwise a new tab, and open the file in there. Result:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment