I have recently created a profile that opens nvim automatically, which works fine. However, is it possible to export it to a file/app so I can open nvim straight by double-clicking/quicksilver/spotlight?
The AppleScript for iTerm 2.9/3
tell application "iTerm" activate tell (create window with profile "nvim") end tell end tell
You can make an AppleScript that accomplishes this, and export that as an app.
The AppleScript [source]:
tell application "iTerm" activate tell (make new terminal) launch session "Your Profile Name" end tell end tell
To export as app [source]:
In Applescript editor File->Save As and choose File Format as Application.