V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xurunfei
V2EX  ›  macOS

mac 如何结合 alfred 通过一个关键字直接输出一串代码,除了 snippets

  •  1
     
  •   xurunfei · Jul 7, 2020 · 1496 views
    This topic created in 2126 days ago, the information mentioned may be changed or developed.

    因为平时存储的命令比较多,又比较长,纯手敲太慢了,用了 alfred,snippets ,挺好用,可以直接输入关键字输出,但是问题就是我想同时同步到笔记里面,方便电脑不在身边时查询,
    目前我的解决方案是 snippets 和我的笔记同时维护,但是感觉也很麻烦,想着能否直接通过笔记同步 snippets 或者 直接读取笔记实现 通过关键字输出代码的功能

    5 replies    2020-07-10 15:42:20 +08:00
    KIMMG
        1
    KIMMG  
       Jul 7, 2020
    楼主用笔记本维护命令是为了啥?跨设备吗?
    scukmh
        2
    scukmh  
       Jul 7, 2020
    https://github.com/cocobear/alfred-quick-run

    这里有一个差不多的,可以自己改改试试。
    xurunfei
        3
    xurunfei  
    OP
       Jul 10, 2020
    @KIMMG 用笔记维护一个方便查阅,主要我有好几台电脑,另外一台需要就又要找特别麻烦
    xurunfei
        4
    xurunfei  
    OP
       Jul 10, 2020
    @scukmh 谢谢,我去瞧瞧
    xurunfei
        5
    xurunfei  
    OP
       Jul 10, 2020
    @scukmh 我发现你写的和我写的功能差不多的,😄,我用 python 读取我的笔记,然后搜索内容,如果能不用 alfred 直接通过 keyword 读取结果就好了,比如键盘再文本框输入 'aaa' 就输出'我是 aaa'
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2436 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 09:04 · PVG 17:04 · LAX 02:04 · JFK 05:04
    ♥ Do have faith in what you're doing.