【问题标题】:How to launch textadept on macos x in curses mode如何以curses模式在macos x上启动textadept
【发布时间】:2017-02-19 13:07:22
【问题描述】:

我研究了所有关于 Textadept 的 manual,但仍然不明白如何从终端中的命令行以终端又名诅咒模式启动 Textadept。

我希望它是这样的:

> textadept -g(ui) somefile.txt

以 GUI 模式启动编辑器

> textadept -c(onsole) somefile.txt

以诅咒模式启动编辑器

【问题讨论】:

    标签: macos terminal editor


    【解决方案1】:

    一种方法是在路径上的目录中的某处创建别名,例如 ~/.local/bin:

    ln -s /Users/{your usename}/Applications/Textadept.app/Contents/MacOS/textadept-curses textadept-c
    

    (假设您在 ~/Applications 中安装了 Textadept

    然后你可以启动它

    textadept-c somefile.txt
    

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-30
    • 1970-01-01
    • 2019-10-11
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多