iTerm2 配置文件作为“应用程序”

Jef*_*y04 0 iterm2

我最近创建了一个自动打开 nvim 的配置文件,效果很好。但是,是否可以将其导出到文件/应用程序,以便我可以通过双击/quicksilver/spotlight 直接打开 nvim?

Jef*_*y04 6

iTerm 2.9/3 的 AppleScript

tell application "iTerm"
    activate
    tell (create window with profile "nvim")
    end tell
end tell
Run Code Online (Sandbox Code Playgroud)