Change the default editor for files opened in the terminal? (e.g. set it to TextEdit/Coda/Textmate)

后端 未结 8 1278
-上瘾入骨i
-上瘾入骨i 2020-12-22 17:00

Is there a way to make files opened for editing in the terminal open in Textedit instead?

For example, where a command might open a file for editing (like git

8条回答
  •  有刺的猬
    2020-12-22 17:36

    For anyone coming here in 2018:

    • go to iTerm -> Preferences -> Profiles -> Advanced -> Semantic History
    • from the dropdown, choose Open with Editor and from the right dropdown choose your editor of choice

提交回复
热议问题