How_To_Turn_Neovide_Into_A_Gui_App_On_Mac

AppleScript

  1. Terminal を起動
  2. コマンドでneovideを起動
  3. neovideが起動するまでループで待機
  4. 起動されたらTerminal を終了
on run
   tell application "Terminal"
   	activate
   	tell application "System Events"
   		keystroke "neovide"
   		keystroke return
   		keystroke "exit"
   		keystroke return
   		repeat
   			tell application "System Events" to exists application process "neovide"
   			if result is true then exit repeat
   		end repeat
   		tell application "Terminal" to quit
   	end tell
   end tell
end run

ロゴをいい感じにする

素材

AutomatorAppロゴ

起動時Appロゴ

  • FinderでMackin以下パスにあるneovideのロゴ画像を先程と同じ方法で置き換える
    • 不可視ファイルはCtrl + Shift + .で表示できる
/usr/local/bin/neovide


Quotes


Tags

#AppleScript #neovim #ShortCut #Mac #neovide #neovim