Calling vim or TextMate from emacs

前端 未结 1 478
醉梦人生
醉梦人生 2021-01-19 21:42

I\'ve been using vi quite a while, and with a Mac, I sometimes use TextMate, and finally, I found the greatness of emacs. And, it\'s very likely that I settle in emacs.

相关标签:
1条回答
  • 2021-01-19 22:20

    How can I launch vi or TextMate(mate) from emacs?

    (async-shell-command "vi")  ;; From Emacs 23.2
    
    (shell-command "vi &")  ;; Before Emacs 23.2
    

    to launch TextMate, you need to install TextMate's command line tools, and then from emacs, it's (thx Chetan):

    (async-shell-command "mate") ;; From Emacs 23.2 
    
    (shell-command "mate &") ;; Before Emacs 23.2
    

    But the best thing to do is to open all 3 editors at the same time and switch between them.

    0 讨论(0)
提交回复
热议问题