Open any File in Terminal Vim by Default

The Problem On a Mac, double clicking or otherwise opening a file (for instance through Alfred) often opens it in Xcode, TextEdit or other non-Vim based editor 😔. What if we use terminal Vim (ok, or any other editor, this should be useful anyway)? Two problems to solve: Open a file in terminal Vim Associate all relevant files with a certain app easily The Solution 1. Open a File in Terminal (Vim) We can achieve this using an Automator workflow bundled as an app. ...

November 27, 2024 · Dionysis Athinaios