How can I open Sublime Text 2 files from the command line in linux to a tab, not a new window

前端 未结 4 1679
时光说笑
时光说笑 2021-01-31 02:27

I have ST2 setup so that I can do \'sublime file.txt\' and it will open in a ST2 window. But how can I make it open in a new tab in the currently open window?

4条回答
  •  鱼传尺愫
    2021-01-31 03:19

    This works on Ubuntu 12.04:

    subl filename
    

    or

    subl -n filename (if you want it to open in a seperate window)

提交回复
热议问题