FG
💻 Software

Mac OS X: how to open vim in terminal when double click on a file

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

Problem

I have defined my own custom vim file type with highlighting etc. I would like to open it using the terminal based vim when I double click on it. I am using mac os x. Any pointers on how to start on this?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Mac OS X: how to open vim in terminal when double click on a file

Low Risk

Create an Automator Application to run the following applescript: Save the automator application. (eg. name it Vim Launcher) Right click (or control-click) on your custom vim-type file (eg. use .vim as the extension) and under Open With… choose the …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment