DEV Community

1ut
1ut

Posted on

3 3

Mac でVim(MacVim)でファイルを開く方法・MacVimをapplication folderに出現させる方法

MacVimをapplication folderに出現させる方法

Macvimのinstall

brew install macvim
Enter fullscreen mode Exit fullscreen mode

Macvim.appの位置の確認

ls /usr/local/Cellar/macvim/8.2-171/MacVim.app
Enter fullscreen mode Exit fullscreen mode
  • [8.2-171]の部分はinstallしたversionによって異なるので注意

/Applicationにsymbolic linkを作成

ln -s /usr/local/Cellar/macvim/8.2-171/MacVim.app /Applications
Enter fullscreen mode Exit fullscreen mode

そしたらこんなふうに出てくる

Screen Shot 2021-04-28 at 19.38.08

Mac でVim(MacVim)でfileを開く方法

上記の「MacVimをapplication folderに出現させる方法」を実行

vimで開きたい拡張子のfileを右click -> get info -> open withからmacvimをselect、change allをclick

Screen Shot 2021-04-28 at 19.41.07

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay